Skip to content

Commit

Permalink
Merge pull request #18158 from fp64/fno-math-errno
Browse files Browse the repository at this point in the history
Add -fno-math-errno
  • Loading branch information
hrydgard authored Sep 16, 2023
2 parents e829c97 + e4af18b commit b6515ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ if(NOT MSVC)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -parallel -fopenmp")
endif()

add_definitions(-fno-math-errno)

if(X86 OR X86_64)
# enable sse2 code generation
add_definitions(-msse2)
Expand Down

0 comments on commit b6515ef

Please sign in to comment.