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/rdr | |
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/rdr')
-rw-r--r-- | common/rdr/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt index 6d3ec1d6..ee71a9bb 100644 --- a/common/rdr/CMakeLists.txt +++ b/common/rdr/CMakeLists.txt @@ -24,14 +24,6 @@ endif() target_link_libraries(rdr ${RDR_LIBRARIES}) -# 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(rdr PROPERTIES COMPILE_FLAGS -fPIC) -endif() - if(UNIX) libtool_create_control_file(rdr) endif() |