summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-09-04 20:33:17 (GMT)
committerGitHub <noreply@github.com>2020-09-04 20:33:17 (GMT)
commit84a7917b4c9afec07575065cffa143b91fe98c14 (patch)
tree6ec0f739a58f73b72eb55c21ebcfcb4160c6f29d /configure
parent306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64 (diff)
downloadcpython-84a7917b4c9afec07575065cffa143b91fe98c14.zip
cpython-84a7917b4c9afec07575065cffa143b91fe98c14.tar.gz
cpython-84a7917b4c9afec07575065cffa143b91fe98c14.tar.bz2
bpo-41721: Add xlc options (GH-22096)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 4c18ae7..ad74754 100755
--- a/configure
+++ b/configure
@@ -7592,11 +7592,14 @@ $as_echo "$MACOSX_DEPLOYMENT_TARGET" >&6; }
;;
esac
-# ICC needs -fp-model strict or floats behave badly
case "$CC" in
*icc*)
+ # ICC needs -fp-model strict or floats behave badly
CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
;;
+*xlc*)
+ CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
+ ;;
esac
if test "$assertions" = 'true'; then