From 6d3a5482aa6bd308bf1ce108d15cd287c9fc8f3a Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 9 Sep 1998 18:39:33 +0000
Subject: [PATCH] Aix4 fixes from Andreas Zeugswetter

---
 src/makefiles/Makefile.aix4 |  4 ++++
 src/template/.similar       |  2 ++
 src/template/aix_42         | 11 +++++++++++
 3 files changed, 17 insertions(+)
 create mode 100644 src/makefiles/Makefile.aix4
 create mode 100644 src/template/aix_42

diff --git a/src/makefiles/Makefile.aix4 b/src/makefiles/Makefile.aix4
new file mode 100644
index 00000000000..b5c1c1d2c17
--- /dev/null
+++ b/src/makefiles/Makefile.aix4
@@ -0,0 +1,4 @@
+MK_NO_LORDER= true
+
+%$(DLSUFFIX): %.o
+	$(LD) -G -bexpall -bnoentry -o $@ $< $(LDFLAGS)
diff --git a/src/template/.similar b/src/template/.similar
index d41f0a26cef..dcf8197d9a1 100644
--- a/src/template/.similar
+++ b/src/template/.similar
@@ -19,6 +19,8 @@ mips-sgi-irix=irix5
 powerpc-ibm-aix3.2.5=aix_325
 powerpc-ibm-aix4.1.4.0=aix_41
 powerpc-ibm-aix4.1.5.0=aix_41
+powerpc-ibm-aix4.2.1.0=aix_42
+powerpc-ibm-aix4.3.1.0=aix_42
 powerpc-unknown-linux-gnu=linux_ppc
 sparc-sun-solaris=solaris_sparc_gcc
 sparc-sun-sunos4=sunos4_gcc
diff --git a/src/template/aix_42 b/src/template/aix_42
new file mode 100644
index 00000000000..783e8f4f688
--- /dev/null
+++ b/src/template/aix_42
@@ -0,0 +1,11 @@
+AROPT:crs
+CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero -qlonglong
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
+CC:xlc
-- 
GitLab