From a0595759f62a704b32e484627a84eee136548f7d Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 18 Feb 2022 13:01:08 +0100 Subject: xcompile,clang: increase the number of bracket-depth for CPP Clang has a limit for the number of nested brackets in CPP. For soc/intel/common/block/include/intelblocks this is a problem as it largely exceeds the default limit of 256. Change-Id: I93038f918e07f735394fc495a8ed7371cc5b1569 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/62175 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- util/xcompile/xcompile | 1 + 1 file changed, 1 insertion(+) (limited to 'util/xcompile') diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 4950a9e282..e5e8098159 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -238,6 +238,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_COMPILER_RT_${TARCH}:=${CC_RT_CLANG} CLANG_COMPILER_RT_FLAGS_${TARCH}:=${CC_RT_EXTRA_CLANG} -- cgit v1.2.3