Skip to content
Snippets Groups Projects
Commit a6c19f7e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Disable fast-math in the hopes of fixing macos/linux crashes

parent 1f773eeb
No related branches found
No related tags found
Loading
...@@ -224,7 +224,7 @@ if (LINUX) ...@@ -224,7 +224,7 @@ if (LINUX)
if (USE_ASAN OR USE_LEAKSAN OR USE_UBSAN OR USE_THDSAN) if (USE_ASAN OR USE_LEAKSAN OR USE_UBSAN OR USE_THDSAN)
add_compile_options(-Og -fno-omit-frame-pointer) add_compile_options(-Og -fno-omit-frame-pointer)
else () else ()
add_compile_options(-O3 -ffast-math) add_compile_options(-O3)
endif () endif ()
# Enable these flags so we have a read only GOT and some linking opts # Enable these flags so we have a read only GOT and some linking opts
...@@ -236,7 +236,6 @@ if (DARWIN) ...@@ -236,7 +236,6 @@ if (DARWIN)
add_link_options("LINKER:-headerpad_max_install_names" "LINKER:-search_paths_first" "LINKER:-dead_strip") add_link_options("LINKER:-headerpad_max_install_names" "LINKER:-search_paths_first" "LINKER:-dead_strip")
add_compile_options( add_compile_options(
-O3 -O3
-ffast-math
-gdwarf-2 -gdwarf-2
-fno-strict-aliasing -fno-strict-aliasing
-msse4.2 -msse4.2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment