clang: Enable integrated assembler on clang builds
Change-Id: I883bf7eb2ab52ba3d7a284c96d4aade8bc1ee4ae Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/21221 Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1104c278e3
commit
adb026f76a
|
@ -252,7 +252,7 @@ cat <<EOF
|
||||||
# Clang
|
# Clang
|
||||||
CLANG_CC_${TARCH}:=${CLANG}
|
CLANG_CC_${TARCH}:=${CLANG}
|
||||||
CLANG_CFLAGS_${TARCH}:=${CFLAGS_CLANG}
|
CLANG_CFLAGS_${TARCH}:=${CFLAGS_CLANG}
|
||||||
CLANG_CFLAGS_${TARCH}+=-no-integrated-as -Qunused-arguments -m${TWIDTH}
|
CLANG_CFLAGS_${TARCH}+=-Qunused-arguments -m${TWIDTH}
|
||||||
# tone down clang compiler warnings
|
# tone down clang compiler warnings
|
||||||
CLANG_CFLAGS_${TARCH}+=-Wno-unused-variable -Wno-unused-function -Wno-tautological-compare
|
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}+=-Wno-shift-overflow -Wno-address-of-packed-member -Wno-initializer-overrides
|
||||||
|
|
Loading…
Reference in New Issue