summaryrefslogtreecommitdiffstats
path: root/js/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Makefile.in')
-rw-r--r--js/src/Makefile.in12
1 files changed, 1 insertions, 11 deletions
diff --git a/js/src/Makefile.in b/js/src/Makefile.in
index b007954b1..bc99e62b5 100644
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -138,23 +138,13 @@ distclean::
CFLAGS += $(MOZ_ZLIB_CFLAGS)
-# Silence warnings on AIX/HP-UX from non-GNU compilers
-ifndef GNU_CC
-ifeq ($(OS_ARCH),AIX)
-# Suppress warnings from xlC
-# 1540-1281: offsetof() on null non-POD types
-# 1540-1608: anonymous unions using static data members
-CFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608
-CXXFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608
-endif
-endif
ifeq ($(OS_ARCH),SunOS)
ifeq ($(TARGET_CPU),sparc)
ifdef GNU_CC
CFLAGS += -mcpu=v9
CXXFLAGS += -mcpu=v9
-endif # GNU_CC
+endif #GNU_CC
endif
endif