aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-09-04 22:33:17 +0200
committerGitHub <noreply@github.com>2020-09-04 22:33:17 +0200
commit84a7917b4c9afec07575065cffa143b91fe98c14 (patch)
tree6ec0f739a58f73b72eb55c21ebcfcb4160c6f29d /configure
parentbpo-40486: Specify what happens if directory content change diring iteration ... (diff)
downloadcpython-84a7917b4c9afec07575065cffa143b91fe98c14.tar.gz
cpython-84a7917b4c9afec07575065cffa143b91fe98c14.tar.bz2
cpython-84a7917b4c9afec07575065cffa143b91fe98c14.zip
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 4c18ae7e364..ad74754e9a7 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