From: Antonio Terceiro Date: Fri, 2 Sep 2016 13:09:03 +0000 (+0100) Subject: remove -Werror X-Git-Tag: archive/raspbian/0_R99-14469.B-2+rpi1~1^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8f835ea2daf76abd0a3a8f03b8c26d353121409e;p=vboot-utils.git 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 --- 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},)