You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
346 B

--- weechat-1.0.1/src/plugins/CMakeLists.txt.pic 2014-09-28 15:59:19.000000000 +0900
+++ weechat-1.0.1/src/plugins/CMakeLists.txt 2015-01-17 04:29:38.934291736 +0900
@@ -39,6 +39,8 @@
include(CheckFunctionExists)
include(CheckLibraryExists)
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
+
if(ENABLE_ALIAS)
add_subdirectory(alias)
endif()