1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-05-29 21:42:26 -04:00

Merge pull request #1281 from srcejon/fast_math

Disable NAN and INF optimisations on Linux
This commit is contained in:
Edouard Griffiths 2022-06-06 23:53:43 +02:00 committed by GitHub
commit 6b842f0361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ if(WIN32)
endif() endif()
if(NOT MSVC) if(NOT MSVC)
add_compile_options(-Wall -Wextra -Wvla -Woverloaded-virtual -ffast-math -ftree-vectorize) add_compile_options(-Wall -Wextra -Wvla -Woverloaded-virtual -ffast-math -fno-finite-math-only -ftree-vectorize)
endif() endif()
if (SANITIZE_ADDRESS) if (SANITIZE_ADDRESS)