summaryrefslogtreecommitdiff
path: root/coreconf
diff options
context:
space:
mode:
Diffstat (limited to 'coreconf')
-rw-r--r--coreconf/Werror.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreconf/Werror.mk b/coreconf/Werror.mk
index 958a002d3..52564586a 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 ifeq ($(CC_NAME),gcc)
+ else
ifneq (,$(filter 4.8 4.9,$(word 1,$(GCC_VERSION)).$(word 2,$(GCC_VERSION))))
NSS_ENABLE_WERROR = 1
endif