summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-05-28 07:42:33 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-05-31 04:11:48 +0000
commit32282c62c64eac538494cfed26b109fbe61d05ff (patch)
treefccefb64fc0165203c80c94058d9733efc747cfb
parentf87b92e9866ec2264f04cec0816bdbb506e7209f (diff)
Makefile.inc: Remove duplicated -Wreturn-type option
"-Wall" turns on "-Wreturn-type". Change-Id: Iad4d8465112e3ca89d7d78e391d52c2b2d5f37cd Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72436 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 8deb099cec..808c0d916a 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -435,7 +435,7 @@ ifeq ($(CONFIG_COMPILER_GCC),y)
ifeq ($(CCC_ANALYZER_OUTPUT_FORMAT),)
CFLAGS_common += -Wno-packed-not-aligned
CFLAGS_common += -fconserve-stack
-CFLAGS_common += -Wnull-dereference -Wreturn-type
+CFLAGS_common += -Wnull-dereference
CFLAGS_common += -Wlogical-op -Wduplicated-cond -Wno-array-compare
endif
endif