Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83374?usp=email )
Change subject: xcompile: Use CLANG_CFLAGS_${TARCH} option per line ......................................................................
xcompile: Use CLANG_CFLAGS_${TARCH} option per line
Change-Id: I5c649898218a9c5d51d18a35264e9636e3dee179 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M util/xcompile/xcompile 1 file changed, 10 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/83374/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index ff067d2..bb2c0ee 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -260,13 +260,17 @@ cat <<EOF
# Clang -CLANG_CC_${TARCH}:=${CLANG} -CLANG_CFLAGS_${TARCH}:=${CFLAGS_CLANG} -CLANG_CFLAGS_${TARCH}+=-Qunused-arguments -m${TWIDTH} +CLANG_CC_${TARCH} := ${CLANG} +CLANG_CFLAGS_${TARCH} := ${CFLAGS_CLANG} +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 -mllvm -asm-macro-max-nesting-depth=1000 +CLANG_CFLAGS_${TARCH} += -Wno-unused-variable +CLANG_CFLAGS_${TARCH} += -Wno-unused-function +CLANG_CFLAGS_${TARCH} += -Wno-tautological-compare +CLANG_CFLAGS_${TARCH} += -Wno-shift-overflow +CLANG_CFLAGS_${TARCH} += -Wno-address-of-packed-member +CLANG_CFLAGS_${TARCH} += -Wno-initializer-overrides +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} # Leak the target arch into the preprocessor flags with clang.