diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-09-24 13:55:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-09-24 13:55:47 +0100 |
commit | 93de67cb66f3c4e4547ad616462a53d5957ab1e6 (patch) | |
tree | f8cad61a248f38ac0627b7d054870a0e3ffea68b /CMakeLists.txt | |
parent | 37336d8d4ecdebf94bf0cb47f844d98657cb842b (diff) | |
download | rspamd-93de67cb66f3c4e4547ad616462a53d5957ab1e6.tar.gz rspamd-93de67cb66f3c4e4547ad616462a53d5957ab1e6.zip |
Revert PIC change, as it is required for compiling.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 756792089..2753d0a9d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -831,12 +831,8 @@ ENDIF(SUPPORT_STD_FLAG) CHECK_C_COMPILER_FLAG(-fPIC SUPPORT_FPIC) IF(SUPPORT_FPIC) - SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_C_FLAGS} -fPIC") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") ENDIF(SUPPORT_FPIC) -CHECK_C_COMPILER_FLAG(-fpic SUPPORT_Fpic) -IF(SUPPORT_Fpic) - SET(CMAKE_EXE_LINKER_FLAGS"${CMAKE_C_FLAGS} -fpic") -ENDIF(SUPPORT_Fpic) # Optimization flags IF(NOT CMAKE_C_OPT_FLAGS) |