diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-20 07:57:16 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-20 11:24:21 +0100 |
commit | 193d15277cfa23e6bd03cf723095c00de3c630b1 (patch) | |
tree | 4644f26f82e743e359666e13a326df7569415e65 /solenv | |
parent | 6c6e798d09f490a172033baef2e71c2dc642c60c (diff) |
EXTERNAL_WARNINGS_NOT_ERRORS -> ENABLE_WERROR and be "TRUE"/""
It's easier to type 'make ENABLE_WERROR= <module>' if one wants that.
Change-Id: I2bb9911259f41ecae27dc110723f3364b3ff09cf
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/platform/com_MSC_defs.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index de77c7ba4867..e4c105cf15e2 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -92,7 +92,7 @@ gb_CXXFLAGS_COMMON += -fvisibility-inlines-hidden endif endif -ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) +ifneq ($(ENABLE_WERROR),) gb_CFLAGS_WERROR := -Werror gb_CXXFLAGS_WERROR := -Werror endif diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index f339609b8de0..9f050e940000 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -244,7 +244,7 @@ gb_PCHWARNINGS = \ gb_STDLIBS := \ advapi32.lib \ -ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) +ifneq ($(ENABLE_WERROR),) gb_CFLAGS_WERROR := -WX gb_CXXFLAGS_WERROR := -WX endif |