summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2019-10-12 00:21:47 -0700
committerNoah Misch <noah@leadboat.com>2019-10-12 00:21:50 -0700
commitc73f4f680e40d8e43f9e5c9a5252094e0589b9d3 (patch)
tree60e460f66c9a50e26c3f8ce999cce575edec91eb /src
parent4e7a8874a15a9bcfe50caf7d39141796a7783507 (diff)
AIX: Stop adding option -qsrcmsg.
With xlc v16.1.0, it causes internal compiler errors. With xlc versions not exhibiting that bug, removing -qsrcmsg merely changes the compiler error reporting format. Back-patch to 9.4 (all supported versions). Discussion: https://postgr.es/m/20191003064105.GA3955242@rfd.leadboat.com
Diffstat (limited to 'src')
-rw-r--r--src/template/aix11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/template/aix b/src/template/aix
index b566ff129df..230d4613f3c 100644
--- a/src/template/aix
+++ b/src/template/aix
@@ -1,13 +1,14 @@
-# Set appropriate default compiler options if using xlc
-# Note: configure will add -qnoansialias if the compiler accepts it,
-# even if user specifies a non-default CFLAGS setting.
+# Set default options if using xlc. This formerly included -qsrcmsg, but that
+# option elicits internal compiler errors from xlc v16.1.0. Note: configure
+# will add -qnoansialias if the compiler accepts it, even if user specifies a
+# non-default CFLAGS setting.
if test "$GCC" != yes ; then
case $host_os in
aix3.2.5 | aix4.1*)
- CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
+ CFLAGS="-O -qmaxmem=16384"
;;
*)
- CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg"
+ CFLAGS="-O2 -qmaxmem=16384"
;;
esac
fi