From 32282c62c64eac538494cfed26b109fbe61d05ff Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 28 May 2023 07:42:33 +0200 Subject: Makefile.inc: Remove duplicated -Wreturn-type option "-Wall" turns on "-Wreturn-type". Change-Id: Iad4d8465112e3ca89d7d78e391d52c2b2d5f37cd Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/72436 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3