summaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-24 20:27:06 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-24 20:27:06 +0200
commitf7edee79a1ccbb94d0ef61ad392d764a600fd5a8 (patch)
treebb8e2e7b723cd78ab5799cdc33201c2177cbe618 /js/src
parent810a3245a8c609c495be4dace044713b9717f0c0 (diff)
downloaduxp-f7edee79a1ccbb94d0ef61ad392d764a600fd5a8.tar.gz
Remove build support for HP-UX
Note: 3rd party lib support (NSS, etc.) has not been touched.
Diffstat (limited to 'js/src')
-rw-r--r--js/src/Makefile.in7
-rw-r--r--js/src/jstypes.h4
-rw-r--r--js/src/moz.build2
3 files changed, 1 insertions, 12 deletions
diff --git a/js/src/Makefile.in b/js/src/Makefile.in
index 3be6a67817..b007954b1f 100644
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -147,13 +147,6 @@ ifeq ($(OS_ARCH),AIX)
CFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608
CXXFLAGS += -qsuppress=1540-1281 -qsuppress=1540-1608
endif
-ifeq ($(OS_ARCH),HP-UX)
-# Suppress warnings from aCC
-# 3055: anonymous unions declaring types
-# 4189: offsetof() on non-POD types
-CFLAGS += +W3055,4189
-CXXFLAGS += +W3055,4189
-endif
endif
ifeq ($(OS_ARCH),SunOS)
ifeq ($(TARGET_CPU),sparc)
diff --git a/js/src/jstypes.h b/js/src/jstypes.h
index 6593d2067f..75774e5b82 100644
--- a/js/src/jstypes.h
+++ b/js/src/jstypes.h
@@ -160,10 +160,6 @@
# if defined(__64BIT__)
# define JS_64BIT
# endif
-#elif defined(__HP_cc) || defined(__HP_aCC) /* HP-UX cc/aCC */
-# if defined(__LP64__)
-# define JS_64BIT
-# endif
#else
# error "Implement me"
#endif
diff --git a/js/src/moz.build b/js/src/moz.build
index a18170a75e..2d4e83db37 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -708,7 +708,7 @@ if CONFIG['_MSC_VER']:
CXXFLAGS += ['-wd4577']
CXXFLAGS += ['-wd4312']
-if CONFIG['OS_ARCH'] not in ('WINNT', 'HP-UX'):
+if CONFIG['OS_ARCH'] not in ('WINNT'):
OS_LIBS += [
'm',
]