diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2016-01-04 17:29:17 +1100 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2016-01-04 17:29:17 +1100 |
commit | 3ab039b9777b6f03a8e4fbeb7bb5de2bb218456d (patch) | |
tree | 6945ccd8b08a744c5966f4fe9deed5ef06af9256 /coreconf/WIN32.mk | |
parent | 26b65616b0b3fddab3a042faa503a46f8e02c36b (diff) | |
download | nss-hg-3ab039b9777b6f03a8e4fbeb7bb5de2bb218456d.tar.gz |
Bug 1226179 - Using -Werror on all unix platforms, r=gaston
Diffstat (limited to 'coreconf/WIN32.mk')
-rw-r--r-- | coreconf/WIN32.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreconf/WIN32.mk b/coreconf/WIN32.mk index 7ca4c8c80..dfe2119a0 100644 --- a/coreconf/WIN32.mk +++ b/coreconf/WIN32.mk @@ -123,14 +123,14 @@ ifdef NS_USE_GCC DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(USERNAME) endif else # !NS_USE_GCC - OS_CFLAGS += -W3 -nologo -D_CRT_SECURE_NO_WARNINGS \ - -D_CRT_NONSTDC_NO_WARNINGS + WARNING_CFLAGS = -W3 -nologo -D_CRT_SECURE_NO_WARNINGS \ + -D_CRT_NONSTDC_NO_WARNINGS OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS ifndef NSS_ENABLE_WERROR NSS_ENABLE_WERROR = 1 endif ifeq ($(NSS_ENABLE_WERROR),1) - OS_CFLAGS += -WX + WARNING_CFLAGS += -WX endif ifeq ($(_MSC_VER),$(_MSC_VER_6)) ifndef MOZ_DEBUG_SYMBOLS |