remove -Werror
authorAntonio Terceiro <terceiro@debian.org>
Fri, 2 Sep 2016 13:09:03 +0000 (14:09 +0100)
committerSophie Brun <sophie@freexian.com>
Fri, 2 Sep 2016 13:09:03 +0000 (14:09 +0100)
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 51a41f24465ddd6fe1fb94537d01efb583636842..6fb34b1beb9ac35e9e6cd20367c5de3fd53c0fc5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -137,7 +137,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)
@@ -160,7 +160,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},)