summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
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/Makefile.shlib
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/Makefile.shlib')
-rw-r--r--src/Makefile.shlib33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 82b336fff3..6df96c634b 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -175,39 +175,6 @@ ifeq ($(PORTNAME), netbsd)
endif
endif
-ifeq ($(PORTNAME), hpux)
- ifdef SO_MAJOR_VERSION
- shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
- endif
- ifeq ($(with_gnu_ld), yes)
- LINK.shared = $(CC) -shared -Wl,-Bsymbolic
- ifdef soname
- LINK.shared += -Wl,-h -Wl,$(soname)
- endif
- else
- LINK.shared = $(LD) -b -Bsymbolic
- ifdef soname
- LINK.shared += +h $(soname)
- endif
- # can't use the CC-syntax rpath pattern here, so instead:
- rpath =
- ifeq ($(enable_rpath), yes)
- LINK.shared += +s +b '$(rpathdir)'
- endif
- # On HPUX platforms, gcc is usually configured to search for libraries
- # in /usr/local/lib, but ld won't do so. Add an explicit -L switch so
- # ld can find the same libraries gcc does. Make sure it goes after any
- # -L switches provided explicitly.
- ifeq ($(GCC), yes)
- SHLIB_LINK += -L/usr/local/lib
- endif
- endif
- # And we need to link with libgcc, too
- ifeq ($(GCC), yes)
- SHLIB_LINK += `$(CC) $(LDFLAGS) -print-libgcc-file-name`
- endif
-endif
-
ifeq ($(PORTNAME), linux)
LINK.shared = $(COMPILER) -shared
ifdef soname