From 9db300ce6e38411144f1e36dba345a5f91bbdee4 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Fri, 8 Jul 2022 11:17:47 +1200 Subject: 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 Reviewed-by: Andres Freund Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/1415825.1656893299%40sss.pgh.pa.us --- src/Makefile.shlib | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'src/Makefile.shlib') 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 -- cgit v1.2.3