]> source.dussan.org Git - rspamd.git/commitdiff
Revert PIC change, as it is required for compiling.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Sep 2013 12:55:47 +0000 (13:55 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 Sep 2013 12:55:47 +0000 (13:55 +0100)
CMakeLists.txt

index 75679208959e7ffe2a2a78883698e69d772aeceb..2753d0a9d416086757c416394d4ec20e2bac7a20 100644 (file)
@@ -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)