Disable -ffinite-math-only (#12832)

This commit is contained in:
Jude Melton-Houghton 2022-10-03 12:13:35 -04:00 committed by GitHub
parent b10d6542db
commit b21fb18379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -743,8 +743,8 @@ else()
# Use a safe subset of flags to speed up math calculations:
# - we don't need errno or math exceptions
# - we don't deal with Inf/NaN or signed zero
set(MATH_FLAGS "-fno-math-errno -fno-trapping-math -ffinite-math-only -fno-signed-zeros")
# - we don't deal with signed zero
set(MATH_FLAGS "-fno-math-errno -fno-trapping-math -fno-signed-zeros")
# Enable SSE for floating point math on 32-bit x86 by default
# reasoning see minetest issue #11810 and https://gcc.gnu.org/wiki/FloatingPointMath