Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83357?usp=email )
Change subject: [test] Enable Waddress-of-packed-member (except aarch64) ......................................................................
[test] Enable Waddress-of-packed-member (except aarch64)
Change-Id: I2a6479d7ce63a198f1d6417c577e41f36dd2e18f Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M util/xcompile/xcompile 1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/83357/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index ff067d2..b420b1c 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -197,8 +197,6 @@ testcc "$GCC" "$FLAGS_GCC -Wl,--build-id=none" && FLAGS_GCC="$FLAGS_GCC -Wl,--build-id=none"
- testcc "$GCC" "$CFLAGS_GCC -Wno-address-of-packed-member $FLAGS_GCC" && - CFLAGS_GCC="$CFLAGS_GCC -Wno-address-of-packed-member" testcc "$GCC" "$CFLAGS_GCC --param=min-pagesize=1024 $FLAGS_GCC" && CFLAGS_GCC="$CFLAGS_GCC --param=min-pagesize=1024"
@@ -217,6 +215,10 @@ testld "$GCC" "$FLAGS_GCC" "${GCCPREFIX}ld${LINKER_SUFFIX}" \ "$LDFLAGS --fix-cortex-a53-843419" && \ LDFLAGS_ARM64_A53_ERRATUM_843419+=" --fix-cortex-a53-843419" + + testcc "$GCC" "$CFLAGS_GCC -Wno-address-of-packed-member $FLAGS_GCC" && + CFLAGS_GCC="$CFLAGS_GCC -Wno-address-of-packed-member" + ;; riscv) testcc "$GCC" "$FLAGS_GCC -march=rv64iadc_zicsr_zifencei" &&