included sqlite3 package does not support -ffast-math implied by -Ofast optimization

Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
This commit is contained in:
Vincent-FK 2020-12-25 11:11:03 +01:00
parent a46a594cd7
commit 63180b99a7

View File

@ -265,3 +265,6 @@ else()
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
endif()
# Included sqlite3 package does not support -ffast-math implied by -Ofast optimization
string(REPLACE "-Ofast" "-O3" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})