1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Force ffp-contract to off

This commit is contained in:
Derick Rethans
2024-05-07 09:34:50 +01:00
parent 742c2e8458
commit 69102d3f57

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],