From aad73ca83ec10ce04d84e35fc280d3220af40928 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 19 Nov 2015 14:58:25 -0800 Subject: [PATCH] Use ${WERROR} consistently. Change-Id: I37b414b030cc69fab2b4feec70b55297dcd5fdb7 Reviewed-on: https://chromium-review.googlesource.com/313198 Commit-Ready: Doug Evans Tested-by: Doug Evans Reviewed-by: Bill Richardson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0a2c23ce14..d066916ec6 100644 --- a/Makefile +++ b/Makefile @@ -154,7 +154,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 ${WERROR} ${DEBUG_FLAGS} endif ifneq (${DEBUG},)