From 0543af2f12ce921074815e16f6b3a4168f41533b Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Sat, 1 Nov 2003 20:45:30 +0000
Subject: [PATCH] Fix CFLAGS logic.

---
 src/template/aix | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/template/aix b/src/template/aix
index 1e3d2261957..48f1110f3e8 100644
--- a/src/template/aix
+++ b/src/template/aix
@@ -1,7 +1,10 @@
 if test "$GCC" != yes ; then
   case $host_os in
-    aix3.2.5 | aix4.1*) ;;
-    *) CFLAGS="-O2 -qlonglong";;
+    aix3.2.5 | aix4.1*)
+      CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
+      ;;
+    *)
+      CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
+      ;;
   esac
-  CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
 fi
-- 
GitLab