summaryrefslogtreecommitdiff
path: root/coreconf
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2015-08-20 10:32:54 -0700
committerMartin Thomson <martin.thomson@gmail.com>2015-08-20 10:32:54 -0700
commit0bce59f71bc897678037fd1ad5e653cca955e63b (patch)
tree1753e2514db0429afb4dcba2d55edb3483b5ee5b /coreconf
parent146edbe7546a6424c80376de357e829ea12e55a0 (diff)
downloadnss-hg-0bce59f71bc897678037fd1ad5e653cca955e63b.tar.gz
Bug 1182667 - Removing strict aliasing checks in sslsnce.c for gcc < 4.8
Diffstat (limited to 'coreconf')
-rw-r--r--coreconf/Darwin.mk2
-rw-r--r--coreconf/Linux.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreconf/Darwin.mk b/coreconf/Darwin.mk
index 748df861b..302b7f91d 100644
--- a/coreconf/Darwin.mk
+++ b/coreconf/Darwin.mk
@@ -97,7 +97,7 @@ endif
ifneq (true,$(NSS_HAS_GCC48))
# Old versions of gcc (< 4.8) don't support #pragma diagnostic in functions.
# Here, we disable use of that #pragma and the warnings it suppresses.
-OS_CFLAGS += -DNSS_NO_GCC48 -Wno-unused-variable
+OS_CFLAGS += -DNSS_NO_GCC48 -Wno-unused-variable -Wno-strict-aliasing
$(warning Unable to find gcc >= 4.8)
endif
diff --git a/coreconf/Linux.mk b/coreconf/Linux.mk
index 297f20d71..299660452 100644
--- a/coreconf/Linux.mk
+++ b/coreconf/Linux.mk
@@ -163,7 +163,7 @@ endif
ifneq (true,$(NSS_HAS_GCC48))
# Old versions of gcc (< 4.8) don't support #pragma diagnostic in functions.
# Here, we disable use of that #pragma and the warnings it suppresses.
-OS_CFLAGS += -DNSS_NO_GCC48 -Wno-unused-variable
+OS_CFLAGS += -DNSS_NO_GCC48 -Wno-unused-variable -Wno-strict-aliasing
$(warning Unable to find gcc >= 4.8)
endif