summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorThomas Munro2022-07-07 23:17:47 +0000
committerThomas Munro2022-07-08 02:05:05 +0000
commit9db300ce6e38411144f1e36dba345a5f91bbdee4 (patch)
tree711b9ce24674f12515da778ca22a9891177f61da /src/template
parent3c633f32b9c712cc0b4c8d946f0eeae04a3ff51a (diff)
Remove HP-UX port.
HP-UX hardware is no longer produced, build farm coverage recently ended, and there are no known active maintainers targeting this OS. Since there is a major rewrite of the build system in the pipeline for PostgreSQL 16, and that requires development, testing and maintainance for each OS and tool chain, it seems like a good time to drop support for: * HP-UX, the operating system. * HP aCC, the HP-UX native compiler. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Andres Freund <andres@anarazel.de> Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com> Discussion: https://postgr.es/m/1415825.1656893299%40sss.pgh.pa.us
Diffstat (limited to 'src/template')
-rw-r--r--src/template/hpux34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/template/hpux b/src/template/hpux
deleted file mode 100644
index 5105a74c78f..00000000000
--- a/src/template/hpux
+++ /dev/null
@@ -1,34 +0,0 @@
-# src/template/hpux
-
-# Need this for access to many modern library features
-CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
-
-# HP's compiler likes the spelling +O2 not -O2, so adjust default CFLAGS
-if test "$GCC" != yes ; then
- CFLAGS="+O2"
-fi
-
-# Extra CFLAGS for code that will go into a shared library
-if test "$GCC" = yes ; then
- CFLAGS_SL="-fPIC"
-else
- CFLAGS_SL="+Z"
-fi
-
-# Pick right test-and-set (TAS) code. We need out-of-line assembler
-# when not using gcc.
-case $host in
- hppa*-*-hpux*)
- if test "$GCC" != yes ; then
- need_tas=yes
- tas_file=hpux_hppa.s
- fi
- ;;
-esac
-
-case $host_cpu in
- ia64)
- DLSUFFIX=".so";;
- *)
- DLSUFFIX=".sl";;
-esac