summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2000-11-18 05:40:03 +0000
committerTom Lane2000-11-18 05:40:03 +0000
commit6ba959eee0c7947f5ecab51f8d41887c62808f8d (patch)
tree38e47d993171d90e6a8b2284f87684a5a226d5c2
parent31e3634a05237bc5216ebbfd71053479d8e9d69b (diff)
AIX patches from Andreas.
-rw-r--r--doc/FAQ_AIX7
-rw-r--r--src/template/aix14
2 files changed, 7 insertions, 14 deletions
diff --git a/doc/FAQ_AIX b/doc/FAQ_AIX
index 8c4f45732dd..fef5f9255f4 100644
--- a/doc/FAQ_AIX
+++ b/doc/FAQ_AIX
@@ -12,8 +12,7 @@ if you have readline or libz there:
libpq++ does not work because xlC does not have the string and bool classes.
compiling the few files, that fail, with g++ does work.
-Compiling PostgreSQL with gcc (2.95.2) on AIX does work if you use the
-configure option: --with-template=aix_gcc
+Compiling PostgreSQL with gcc (2.95.2) on AIX also works.
-There will probably be warnings about int8 - int64 redefines and 0.0/0.0
-devision warnings, which you can safely ignore.
+There will probably be warnings about int8 - int64 redefines, 0.0/0.0
+division and duplicate symbol warnings which you can safely ignore.
diff --git a/src/template/aix b/src/template/aix
index 7d6d580a26c..768d38d88df 100644
--- a/src/template/aix
+++ b/src/template/aix
@@ -1,15 +1,9 @@
if test "$GCC" = yes ; then
- CFLAGS=-pipe
+ CFLAGS='-O2 -pipe'
else # not GCC
+ CFLAGS='-O2 -qmaxmem=16384 -qsrcmsg -qlonglong'
case $host_os in
- aix3.2.5)
- CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg'
- ;;
- aix4.1)
- CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero'
- ;;
- aix4.2 | aix4.3)
- CFLAGS='-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong'
- ;;
+ aix3.2.5 | aix4.1*)
+ CFLAGS='-qmaxmem=16384 -qsrcmsg' ;;
esac
fi # not GCC