From 8f835ea2daf76abd0a3a8f03b8c26d353121409e Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 2 Sep 2016 14:09:03 +0100 Subject: [PATCH] remove -Werror 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 51a41f2..6fb34b1 100644 --- 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},) -- 2.30.2