bpo-41721: Add xlc options (GH-22096)
This commit is contained in:
parent
306cfb3a37
commit
84a7917b4c
|
@ -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
|
||||
|
|
|
@ -1993,11 +1993,14 @@ yes)
|
|||
;;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue