mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 15:17:01 +02:00
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
This commit is contained in:
parent
e34358c436
commit
e5b4926ef6
@ -1,13 +1,14 @@
|
|||||||
# Set appropriate default compiler options if using xlc
|
# Set default options if using xlc. This formerly included -qsrcmsg, but that
|
||||||
# Note: configure will add -qnoansialias if the compiler accepts it,
|
# option elicits internal compiler errors from xlc v16.1.0. Note: configure
|
||||||
# even if user specifies a non-default CFLAGS setting.
|
# will add -qnoansialias if the compiler accepts it, even if user specifies a
|
||||||
|
# non-default CFLAGS setting.
|
||||||
if test "$GCC" != yes ; then
|
if test "$GCC" != yes ; then
|
||||||
case $host_os in
|
case $host_os in
|
||||||
aix3.2.5 | aix4.1*)
|
aix3.2.5 | aix4.1*)
|
||||||
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
|
CFLAGS="-O -qmaxmem=16384"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg"
|
CFLAGS="-O2 -qmaxmem=16384"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user