Force ffp-contract to off

This commit is contained in:
Derick Rethans 2024-05-07 09:34:50 +01:00
parent 742c2e8458
commit 69102d3f57
No known key found for this signature in database
GPG Key ID: 910DEB46F53EA312

View File

@ -220,6 +220,9 @@ case $host_cpu in
;;
esac
dnl See https://github.com/php/php-src/issues/14140
AX_CHECK_COMPILE_FLAG([-ffp-contract=off], [CFLAGS="$CFLAGS -ffp-contract=off"])
dnl Mark symbols hidden by default if the compiler (for example, gcc >= 4)
dnl supports it. This can help reduce the binary size and startup time.
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],