1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Sophie Brun <sophie@offensive-security.com>
Date: Tue, 11 Feb 2020 15:24:49 +0100
Subject: Don't build with Werror in Debian
Last-Update: 2020-02-11
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b61e2aa..6834e57 100644
--- a/Makefile
+++ b/Makefile
@@ -137,7 +137,7 @@ endif
DEBUG_FLAGS := $(if $(filter-out 0,${DEBUG}),-g -Og,-g -Os)
WERROR := -Werror
FIRMWARE_FLAGS := -nostdinc -ffreestanding -fno-builtin -fno-stack-protector
-COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \
+COMMON_FLAGS := -pipe -Wall -Wstrict-prototypes -Wtype-limits \
-Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \
-Wwrite-strings -Wstrict-aliasing -Wdate-time \
-ffunction-sections -fdata-sections \
|