summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-08 13:49:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-08 13:49:12 (GMT)
commitb05688db47e04de9a5c873ee531f02d31468a508 (patch)
tree79330d1a1b285fb374e6ca1e63905cf9277be79f /Modules
parent2f087606b799c9c7706f094ce0026e35d540731e (diff)
parentfb31229e9928534162c2f14d23c45bb939eaffd9 (diff)
downloadCMake-b05688db47e04de9a5c873ee531f02d31468a508.zip
CMake-b05688db47e04de9a5c873ee531f02d31468a508.tar.gz
CMake-b05688db47e04de9a5c873ee531f02d31468a508.tar.bz2
Merge topic 'pgi-rdynamic-fix'
fb31229e Linux-PGI: Prevent -rdynamic ending up in flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !808
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Linux-PGI.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-PGI.cmake b/Modules/Platform/Linux-PGI.cmake
index a407e43..db032c2 100644
--- a/Modules/Platform/Linux-PGI.cmake
+++ b/Modules/Platform/Linux-PGI.cmake
@@ -14,4 +14,5 @@ macro(__linux_compiler_pgi lang)
set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "")
set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC")
set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared")
+ set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS " ")
endmacro()