aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
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