Use -fPIC for building Sqlite
This commit is contained in:
parent
6278e74e4b
commit
a7d8d9c2ab
1 changed files with 1 additions and 1 deletions
2
3rdparty/sqlite3/CMakeLists.txt
vendored
2
3rdparty/sqlite3/CMakeLists.txt
vendored
|
@ -2,4 +2,4 @@
|
||||||
add_library(fgsqlite3 STATIC sqlite3.c)
|
add_library(fgsqlite3 STATIC sqlite3.c)
|
||||||
|
|
||||||
target_compile_definitions(fgsqlite3 PRIVATE SQLITE_OMIT_LOAD_EXTENSION NDEBUG)
|
target_compile_definitions(fgsqlite3 PRIVATE SQLITE_OMIT_LOAD_EXTENSION NDEBUG)
|
||||||
set_target_properties(fgsqlite3 PROPERTIES COMPILE_FLAGS "-fpic -fno-fast-math")
|
set_target_properties(fgsqlite3 PROPERTIES COMPILE_FLAGS "-fPIC -fno-fast-math")
|
||||||
|
|
Loading…
Add table
Reference in a new issue