diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-09-04 14:02:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 23:02:57 +0200 |
commit | fb050d0d60f38dc9b6c30df1864020a92981be5b (patch) | |
tree | 86f092616a6db5f7f17376806c18d87c8d138ef8 /configure | |
parent | bpo-41700: Skip test if the locale is not supported (GH-22081) (GH-22085) (diff) | |
download | cpython-fb050d0d60f38dc9b6c30df1864020a92981be5b.tar.gz cpython-fb050d0d60f38dc9b6c30df1864020a92981be5b.tar.bz2 cpython-fb050d0d60f38dc9b6c30df1864020a92981be5b.zip |
bpo-41721: Add xlc options (GH-22097)
(cherry picked from commit 84a7917b4c9afec07575065cffa143b91fe98c14)
Authored-by: Stefan Krah <skrah@bytereef.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure index 4d9c54f2d68..9e6fd465833 100755 --- a/configure +++ b/configure @@ -7588,11 +7588,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 |