diff options
| author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-10-03 12:13:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-03 12:13:35 -0400 |
| commit | b21fb1837955e6385137184cac906245821b20e4 (patch) | |
| tree | fa5a0f67f12f93fb9e2ae7f2a5ca6de278064e84 | |
| parent | b10d6542db09d427bc263ea935c29846821cee62 (diff) | |
| download | minetest-b21fb1837955e6385137184cac906245821b20e4.tar.xz | |
Disable -ffinite-math-only (#12832)
| -rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 54dad55c6..60876044e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 |
