Don't build with Werror in Debian
authorSophie Brun <sophie@offensive-security.com>
Tue, 11 Feb 2020 14:24:49 +0000 (15:24 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 21 Jun 2022 09:42:25 +0000 (10:42 +0100)
Last-Update: 2020-02-11

Gbp-Pq: Name dont-build-with-werror.patch

Makefile

index 6f136434acb9fb53887411eeb760859e891c4a48..85e36a82acfa4a5dfc26a4a7234a8610ce23191a 100644 (file)
--- 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 \