qsrcmsg-v1.patch

text/plain

Filename: qsrcmsg-v1.patch
Type: text/plain
Part: 0
Message: Removing -qsrcmsg (AIX)

Patch

Format: unified
Series: patch v1
File+
src/template/aix 6 5
diff --git a/src/template/aix b/src/template/aix
index ed83284..999cd35 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