libpayload: Skip unknown arguments to clang

This compiler argument only exists on gcc.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I10902517c86daedc9853e6f6cac8fcf513211bb2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77436
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2023-08-25 13:09:31 +02:00 committed by Martin L Roth
parent 536ea50c53
commit 668b8ccad3
1 changed files with 2 additions and 0 deletions

View File

@ -26,7 +26,9 @@
## SUCH DAMAGE.
##
ifneq ($(CONFIG_LP_COMPILER_LLVM_CLANG),y)
CFLAGS += -mpreferred-stack-boundary=2
endif
head.o-y += head.S
libc-y += main.c sysinfo.c