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/os | |
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/os')
-rw-r--r-- | common/os/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/os/CMakeLists.txt b/common/os/CMakeLists.txt index 623a32f8..82f11659 100644 --- a/common/os/CMakeLists.txt +++ b/common/os/CMakeLists.txt @@ -5,11 +5,3 @@ add_library(os STATIC net.c os.cxx tls.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(os PROPERTIES COMPILE_FLAGS -fPIC) -endif() |