summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-29 12:48:22 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-29 12:48:22 (GMT)
commitb4b9e1d44b7804111c85c9c8e9bbfafdf149c3c0 (patch)
treef34c65ba864f20e53192ef7cbfa2e7d9890a72c6 /Modules
parenta099551882cf925be8e496d98200e4a09a71a7fe (diff)
downloadCMake-b4b9e1d44b7804111c85c9c8e9bbfafdf149c3c0.zip
CMake-b4b9e1d44b7804111c85c9c8e9bbfafdf149c3c0.tar.gz
CMake-b4b9e1d44b7804111c85c9c8e9bbfafdf149c3c0.tar.bz2
BUG: Fix dynamic exports executable link option for Sun C compiler on Linux.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Linux-SunPro-C.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Linux-SunPro-C.cmake b/Modules/Platform/Linux-SunPro-C.cmake
index c199100..529dfba 100644
--- a/Modules/Platform/Linux-SunPro-C.cmake
+++ b/Modules/Platform/Linux-SunPro-C.cmake
@@ -6,7 +6,7 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-R")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-h")
-SET(CMAKE_EXE_EXPORTS_C_FLAG "--export-dynamic")
+SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
SET(CMAKE_C_FLAGS_INIT "")
SET(CMAKE_C_FLAGS_DEBUG_INIT "-g")