util/xcompile: Fix libpayload compilation with clang/llvm
x86 assembly code uses a lot of nested macros so increase the default value from 20 to 1000. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ic23c452514de7dc1aa420541b756c443180b8b37 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77430 Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f443a09790
commit
d717394384
|
@ -259,7 +259,7 @@ CLANG_CFLAGS_${TARCH}+=-Qunused-arguments -m${TWIDTH}
|
|||
# tone down clang compiler warnings
|
||||
CLANG_CFLAGS_${TARCH}+=-Wno-unused-variable -Wno-unused-function -Wno-tautological-compare
|
||||
CLANG_CFLAGS_${TARCH}+=-Wno-shift-overflow -Wno-address-of-packed-member -Wno-initializer-overrides
|
||||
CLANG_CFLAGS_${TARCH}+=-fbracket-depth=2048
|
||||
CLANG_CFLAGS_${TARCH}+=-fbracket-depth=2048 -mllvm -asm-macro-max-nesting-depth=1000
|
||||
CLANG_COMPILER_RT_${TARCH}:=${CC_RT_CLANG}
|
||||
CLANG_COMPILER_RT_FLAGS_${TARCH}:=${CC_RT_EXTRA_CLANG}
|
||||
|
||||
|
|
Loading…
Reference in New Issue