Commit a4be36f5 authored by Ilya Konstantinov's avatar Ilya Konstantinov Committed by Jason Madden

manylinux: disable -ffast-math

parent cf19786a
......@@ -43,7 +43,9 @@ if [ "$DOCKER_IMAGE" == "quay.io/pypa/manylinux2014_aarch64" -a -n "$GITHUB_ACTI
SLOW_ARM=1
else
echo "Compiling with -Ofast"
export CFLAGS="-Ofast $GEVENT_WARNFLAGS"
# Note: -Ofast includes -ffast-math which affects process-wide floating-point flags (e.g. can affect numpy).
# We opt out of -ffast-math explicitly. Other libraries can still trigger it.
export CFLAGS="-Ofast -fno-fast-math $GEVENT_WARNFLAGS"
fi
# -lrt: Needed for clock_gettime libc support on this version.
# -pthread: Needed for pthread_atfork (cffi).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment