summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorAndres Freund2022-08-07 16:36:01 +0000
committerAndres Freund2022-08-07 16:36:01 +0000
commit8f12a4e7addc733deb5a656548fb8013609f50f1 (patch)
treeb1d0db3d8ce4dd6d0c20d3f4b3d1f07d57f456f9 /src/makefiles
parent9ddb870bd479c1e9cacc5605b7831a4df90fcbf5 (diff)
aix: Remove checks for very old OS versions
Reviewed-By: Thomas Munro <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/Makefile.aix14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix
index 84f26b49b87..4cf2cc52d45 100644
--- a/src/makefiles/Makefile.aix
+++ b/src/makefiles/Makefile.aix
@@ -8,19 +8,9 @@ AROPT = crs
# -blibpath must contain ALL directories where we should look for libraries
libpath := $(shell echo $(subst -L,:,$(filter -L/%,$(LDFLAGS))) | sed -e's/ //g'):/usr/lib:/lib
-ifeq ($(host_os), aix3.2.5)
- rpath = -L'$(rpathdir)'
-else
- rpath = -Wl,-blibpath:'$(rpathdir)$(libpath)'
-endif
+rpath = -Wl,-blibpath:'$(rpathdir)$(libpath)'
-ifeq ($(host_os), aix3.2.5)
-ifneq ($(GCC), yes)
- LDFLAGS_SL += -e _nostart -H512 -bM:SRE
-endif
-else
- LDFLAGS_SL += -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE
-endif
+LDFLAGS_SL += -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE
# env var name to use in place of LD_LIBRARY_PATH
ld_library_path_var = LIBPATH