Fix a crucial issue

This commit is contained in:
jordan4ibanez 2023-11-26 09:29:51 -05:00
parent e0331595fa
commit 571619bf18

View File

@ -25,7 +25,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
add_compile_options(-Wall -pipe -fno-exceptions -fno-rtti)
# this causes problems with json -fno-exceptions
add_compile_options(-Wall -pipe -fno-rtti)
# Enable SSE for floating point math on 32-bit x86 by default
# reasoning see minetest issue #11810 and https://gcc.gnu.org/wiki/FloatingPointMath