remove -Werror
authorAntonio Terceiro <terceiro@debian.org>
Tue, 6 Feb 2018 15:29:11 +0000 (15:29 +0000)
committerRaphaël Hertzog <hertzog@debian.org>
Tue, 6 Feb 2018 15:29:11 +0000 (15:29 +0000)
Last-Update: 2016-03-21

This breaks the build on armhf due to warning about format strings
Last-Update: 2016-03-21
Gbp-Pq: Name 0005-remove-Werror.patch

Makefile

index 2d2cdcab8565c14f3c39c78e4fe4dbac112f9ee1..f706abb5299a1cdbc9af92e83864ef0dff700814 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,7 @@ DEBUG_FLAGS := $(if ${DEBUG},-g -O0,-Os)
 WERROR := -Werror
 COMMON_FLAGS := -nostdinc -pipe \
        -ffreestanding -fno-builtin -fno-stack-protector \
-       ${WERROR} -Wall -Wstrict-prototypes ${DEBUG_FLAGS}
+       -Wall -Wstrict-prototypes ${DEBUG_FLAGS}
 
 # Note: FIRMWARE_ARCH is defined by the Chromium OS ebuild.
 ifeq (${FIRMWARE_ARCH}, arm)
@@ -166,7 +166,7 @@ CFLAGS ?= ${COMMON_FLAGS} \
 else
 # FIRMWARE_ARCH not defined; assuming local compile.
 CC ?= gcc
-CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall ${WERROR} ${DEBUG_FLAGS}
+CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall ${DEBUG_FLAGS}
 endif
 
 ifneq (${CUSTOM_MUSIC},)