CMake: Remove -fsanitize=float-divide-by-zero

This is so that NaN and INFINITY values can be produced.
This commit is contained in:
Max Bruckner 2018-01-20 15:43:56 +01:00
parent f520fdd432
commit 1e95d4fe9a

View File

@ -64,7 +64,6 @@ if (ENABLE_SANITIZERS)
-fno-omit-frame-pointer -fno-omit-frame-pointer
-fsanitize=address -fsanitize=address
-fsanitize=undefined -fsanitize=undefined
-fsanitize=float-divide-by-zero
-fsanitize=float-cast-overflow -fsanitize=float-cast-overflow
-fsanitize-address-use-after-scope -fsanitize-address-use-after-scope
-fsanitize=integer -fsanitize=integer