mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-26 19:25:02 +00:00
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>
This commit is contained in:
2
Makefile
2
Makefile
@@ -154,7 +154,7 @@ CFLAGS ?= ${COMMON_FLAGS} \
|
|||||||
else
|
else
|
||||||
# FIRMWARE_ARCH not defined; assuming local compile.
|
# FIRMWARE_ARCH not defined; assuming local compile.
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall -Werror ${DEBUG_FLAGS}
|
CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall ${WERROR} ${DEBUG_FLAGS}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (${DEBUG},)
|
ifneq (${DEBUG},)
|
||||||
|
|||||||
Reference in New Issue
Block a user