summaryrefslogtreecommitdiff
path: root/coreconf/Werror.mk
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2016-03-09 09:47:02 +0100
committerTim Taubert <ttaubert@mozilla.com>2016-03-09 09:47:02 +0100
commitc034a51143feb525f39afddf6593bdc6811dfaee (patch)
treecf6bed0caa26d81c9548b7ea0324cdd979c6c07f /coreconf/Werror.mk
parent157f74575ad1afa7b5e6775d1bd16e7908652102 (diff)
downloadnss-hg-c034a51143feb525f39afddf6593bdc6811dfaee.tar.gz
Backed out changeset 2e605fde0fa9 (bug 1254406)
Diffstat (limited to 'coreconf/Werror.mk')
-rw-r--r--coreconf/Werror.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreconf/Werror.mk b/coreconf/Werror.mk
index 52564586a..958a002d3 100644
--- a/coreconf/Werror.mk
+++ b/coreconf/Werror.mk
@@ -65,7 +65,7 @@ ifndef WARNING_CFLAGS
ifeq ($(CC_NAME),clang)
# Clang reports its version as an older gcc, but it's OK
NSS_ENABLE_WERROR = 1
- else
+ else ifeq ($(CC_NAME),gcc)
ifneq (,$(filter 4.8 4.9,$(word 1,$(GCC_VERSION)).$(word 2,$(GCC_VERSION))))
NSS_ENABLE_WERROR = 1
endif