diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 20:53:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 20:53:53 +0100 |
commit | 3981f867377ca0652d0cc0ababbbc30208db7e1c (patch) | |
tree | bcf8118aa26cc999290722ae936a5a516b726f44 /cmake/linux.cmake | |
parent | b8a14c36f9d765102ad2329d522caa1469a6e912 (diff) |
add -fPIC in cmake
Diffstat (limited to 'cmake/linux.cmake')
-rw-r--r-- | cmake/linux.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/linux.cmake b/cmake/linux.cmake index 945f7e77..326c4d4a 100644 --- a/cmake/linux.cmake +++ b/cmake/linux.cmake @@ -1,7 +1,7 @@ set(CMAKE_BUILD_TYPE_INIT RELEASE) -set(CMAKE_CXX_FLAGS "-fPIC" CACHE STRING "" FORCE) -set(CMAKE_C_FLAGS "-fPIC" CACHE STRING "" FORCE) +set(CMAKE_CXX_FLAGS "" CACHE STRING "" FORCE) +set(CMAKE_C_FLAGS "" CACHE STRING "" FORCE) set(CMAKE_AR "gcc-ar" CACHE STRING "" FORCE) set(CMAKE_NM "gcc-nm" CACHE STRING "" FORCE) |