[cmake] drop -fcx-limited-ops

This commit is contained in:
nick black 2021-10-21 05:11:18 -04:00
parent b0e4bae2fe
commit 6da04e04db
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -119,8 +119,7 @@ endif()
add_compile_options(-Wall -Wextra -W -Wshadow) add_compile_options(-Wall -Wextra -W -Wshadow)
# -ffast-math dies on NaNs we draw from libav (by -ffinite-math-only) # -ffast-math dies on NaNs we draw from libav (by -ffinite-math-only)
add_compile_options(-fno-signed-zeros -fno-trapping-math -fassociative-math) add_compile_options(-fno-signed-zeros -fno-trapping-math -fassociative-math)
add_compile_options(-fno-math-errno -freciprocal-math) add_compile_options(-fno-math-errno -freciprocal-math -funsafe-math-optimizations)
add_compile_options(-funsafe-math-optimizations -fcx-limited-range)
add_compile_options(-fexceptions -fstrict-aliasing) add_compile_options(-fexceptions -fstrict-aliasing)
if(${USE_ASAN}) if(${USE_ASAN})