1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 15:26:33 -04:00

Disable NAN and INF optimisations, as NANs are used in some code

This commit is contained in:
Jon Beniston 2022-06-06 14:21:42 +01:00
parent 76ed92c985
commit 9052694ad5

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)