Skip to content

Commit 63180b9

Browse files
committed
included sqlite3 package does not support -ffast-math implied by -Ofast optimization
Signed-off-by: Vincent-FK <[email protected]>
1 parent a46a594 commit 63180b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

RetroFE/Source/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,3 +265,6 @@ else()
265265
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
266266
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
267267
endif()
268+
269+
# Included sqlite3 package does not support -ffast-math implied by -Ofast optimization
270+
string(REPLACE "-Ofast" "-O3" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})

0 commit comments

Comments
 (0)