From: Antonio Terceiro Date: Tue, 6 Feb 2018 15:29:11 +0000 (+0000) Subject: remove -Werror X-Git-Tag: archive/raspbian/0_R99-14469.B-2+rpi1~1^2^2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ac4f1034c7efcb16f35ab386e7a89b207f255a52;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 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},)