Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84073?usp=email )
Change subject: [build test] move Wextra to Makefile.mk ......................................................................
[build test] move Wextra to Makefile.mk
Change-Id: I13d0e51919375711d6a6675ee80f546be357a6d1 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M Makefile.mk M util/xcompile/xcompile 2 files changed, 1 insertion(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/84073/1
diff --git a/Makefile.mk b/Makefile.mk index 9efef49..fa2847f 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -510,6 +510,7 @@ CFLAGS_common += -std=gnu11 CFLAGS_common += -nostdlib CFLAGS_common += -Wall +CFLAGS_common += -Wextra CFLAGS_common += -Wundef CFLAGS_common += -Wstrict-prototypes CFLAGS_common += -Wmissing-prototypes diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 13ed48b..7a78d80 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -238,9 +238,6 @@ testcc "$GCC" "$CFLAGS_GCC -Wno-cast-function-type" && CFLAGS_GCC="$CFLAGS_GCC -Wno-cast-function-type"
- testcc "$GCC" "$CFLAGS_GCC -Wextra" && - CFLAGS_GCC="$CFLAGS_GCC -Wextra" - # Disable warning on segments with RWX. # All loadable sections are placed in the same segment for simplicity. testld "$GCC" "$FLAGS_GCC" "${GCCPREFIX}ld${LINKER_SUFFIX}" \