summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSteven Vancoillie <steven.vancoillie@teokem.lu.se>2015-03-23 08:22:14 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-23 14:24:18 (GMT)
commit209c142f68a8902db802ca6c73c22c395a7aea06 (patch)
treec121c0a1ddccdc326e21c69a8a3976ea10c5034f /Modules
parent3556fb1b81fccac63600a2509f92e9ef738fed69 (diff)
downloadCMake-209c142f68a8902db802ca6c73c22c395a7aea06.zip
CMake-209c142f68a8902db802ca6c73c22c395a7aea06.tar.gz
CMake-209c142f68a8902db802ca6c73c22c395a7aea06.tar.bz2
SunPro: Drop non-existent -KPIE flag
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/SunPro-C.cmake1
-rw-r--r--Modules/Compiler/SunPro-CXX.cmake1
2 files changed, 0 insertions, 2 deletions
diff --git a/Modules/Compiler/SunPro-C.cmake b/Modules/Compiler/SunPro-C.cmake
index c5b5203..92252cb 100644
--- a/Modules/Compiler/SunPro-C.cmake
+++ b/Modules/Compiler/SunPro-C.cmake
@@ -1,7 +1,6 @@
set(CMAKE_C_VERBOSE_FLAG "-#")
set(CMAKE_C_COMPILE_OPTIONS_PIC -KPIC)
-set(CMAKE_C_COMPILE_OPTIONS_PIE -KPIE)
set(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC")
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-G")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-R")
diff --git a/Modules/Compiler/SunPro-CXX.cmake b/Modules/Compiler/SunPro-CXX.cmake
index c7bc734..022b4d4 100644
--- a/Modules/Compiler/SunPro-CXX.cmake
+++ b/Modules/Compiler/SunPro-CXX.cmake
@@ -1,7 +1,6 @@
set(CMAKE_CXX_VERBOSE_FLAG "-v")
set(CMAKE_CXX_COMPILE_OPTIONS_PIC -KPIC)
-set(CMAKE_CXX_COMPILE_OPTIONS_PIE -KPIE)
set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-KPIC")
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-G")
set(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-R")