Skip to content

Commit

Permalink
test -march=x86_64 -mfpmath=sse flags
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed May 13, 2024
1 parent 8b1d6fb commit 2c752ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/patches/CMakeLists.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ index 8d2e460..c87c65f 100644
("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"))
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native -mfpmath=sse -ggdb")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=native -mfpmath=sse -ggdb")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native -ggdb")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=native -ggdb")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=x86_64 -mfpmath=sse -ggdb")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=x86_64 -mfpmath=sse -ggdb")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0")
endif (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR

0 comments on commit 2c752ff

Please sign in to comment.