diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2016-03-09 10:41:18 +1100 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2016-03-09 10:41:18 +1100 |
commit | 157f74575ad1afa7b5e6775d1bd16e7908652102 (patch) | |
tree | 21bb807822aea4b380d701f7032e239865a62b74 /coreconf | |
parent | 87a0c6aeef2260100208b19a9f07e8f5220f53d9 (diff) | |
download | nss-hg-157f74575ad1afa7b5e6775d1bd16e7908652102.tar.gz |
Bug 1254406 - Remove excess check against CC_NAME, r=ttaubert
Diffstat (limited to 'coreconf')
-rw-r--r-- | coreconf/Werror.mk | 2 |
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 |