mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Disable -ffinite-math-only (#12832)
This commit is contained in:
parent
b10d6542db
commit
b21fb18379
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue