Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84074?usp=email )
Change subject: xcompile: Use Walloc-size GCC option ......................................................................
xcompile: Use Walloc-size GCC option
Change-Id: Ia26dcf0 reverts use of Walloc-size wase reverted as old GCC didn't support it. So enable it for modern GCC version.
Change-Id: If5d36b073bb5b4cccb0cf2b67b43edb3f97f168c Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M util/xcompile/xcompile 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/84074/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 13ed48b..ab2cd06 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -208,6 +208,9 @@ testcc "$GCC" "$CFLAGS_GCC -Wcalloc-transposed-args" && CFLAGS_GCC="$CFLAGS_GCC -Wcalloc-transposed-args"
+ testcc "$GCC" "$CFLAGS_GCC -Walloc-size" && + CFLAGS_GCC="$CFLAGS_GCC -Walloc-size" + testcc "$GCC" "$CFLAGS_GCC -Wno-unused-parameter" && CFLAGS_GCC="$CFLAGS_GCC -Wno-unused-parameter"