mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
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
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user