From a6c19f7e0ca5b204d06da0af97525c9dee584e6c Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Mon, 13 Nov 2023 23:55:49 -0500 Subject: [PATCH] Disable fast-math in the hopes of fixing macos/linux crashes --- indra/cmake/00-Common.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 191652f4c58..020c0962bc0 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -224,7 +224,7 @@ if (LINUX) if (USE_ASAN OR USE_LEAKSAN OR USE_UBSAN OR USE_THDSAN) add_compile_options(-Og -fno-omit-frame-pointer) else () - add_compile_options(-O3 -ffast-math) + add_compile_options(-O3) endif () # Enable these flags so we have a read only GOT and some linking opts @@ -236,7 +236,6 @@ if (DARWIN) add_link_options("LINKER:-headerpad_max_install_names" "LINKER:-search_paths_first" "LINKER:-dead_strip") add_compile_options( -O3 - -ffast-math -gdwarf-2 -fno-strict-aliasing -msse4.2 -- GitLab