From ac4f1034c7efcb16f35ab386e7a89b207f255a52 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 6 Feb 2018 15:29:11 +0000 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 2d2cdca..f706abb 100644 --- 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},) -- 2.30.2