diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-08-23 20:35:06 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-08-23 20:35:06 +0000 |
commit | ce82f4bbcd4fe491132a0b9aa772e25159179ba1 (patch) | |
tree | c3123c8d85cc70653faa936931ddea998e7e6b08 /common/network | |
parent | f340e7c33813e4979e817209fe3d93d3a685cfdf (diff) | |
download | tigervnc-ce82f4bbcd4fe491132a0b9aa772e25159179ba1.tar.gz tigervnc-ce82f4bbcd4fe491132a0b9aa772e25159179ba1.zip |
Move setting of PIC code to a central location
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4648 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/network')
-rw-r--r-- | common/network/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt index 681d2912..ddde5745 100644 --- a/common/network/CMakeLists.txt +++ b/common/network/CMakeLists.txt @@ -3,14 +3,6 @@ include_directories(${CMAKE_SOURCE_DIR}/common) add_library(network STATIC TcpSocket.cxx) -# This code goes into libvnc.so, so it needs to be PIC on x86_64. -# (It should be on archs as well, but we prefer performance over memory -# efficiency. Win64 is excluded because PIC is always on there and it -# complains when you give it the explicit flag.) -if(CMAKE_COMPILER_IS_GNUCXX AND (CMAKE_SIZEOF_VOID_P MATCHES 8) AND NOT WIN32) - set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) -endif() - if(UNIX) libtool_create_control_file(network) endif() |