Don't build with Werror in Debian
authorSophie Brun <sophie@offensive-security.com>
Tue, 11 Feb 2020 14:24:49 +0000 (15:24 +0100)
committerSophie Brun <sophie@offensive-security.com>
Tue, 1 Dec 2020 09:59:21 +0000 (09:59 +0000)
Last-Update: 2020-02-11

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

Makefile

index fa0d5129d510f1238fb28ada456409a7dd641c72..1aa49749ce2c8647c3dec0f0aa61cc894d4ad4b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @@ endif
 DEBUG_FLAGS := $(if ${DEBUG},-g -O0,-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 -Wno-unknown-warning \
        -Wno-address-of-packed-member -ffunction-sections -fdata-sections \