summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-11-19 14:58:25 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-06 10:53:51 -0800
commitaad73ca83ec10ce04d84e35fc280d3220af40928 (patch)
tree6b8f2989d0acb4e429d45d070696cb6dedc39b82
parent46d78db74a0c14a99adc86b3a8b4536ce0c87365 (diff)
downloadvboot-aad73ca83ec10ce04d84e35fc280d3220af40928.tar.gz
Use ${WERROR} consistently.
Change-Id: I37b414b030cc69fab2b4feec70b55297dcd5fdb7 Reviewed-on: https://chromium-review.googlesource.com/313198 Commit-Ready: Doug Evans <dje@google.com> Tested-by: Doug Evans <dje@google.com> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a2c23ce..d066916e 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},)