summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Decker <d3ck0r@gmail.com>2014-11-02 13:59:27 -0800
committerBrad King <brad.king@kitware.com>2014-11-03 08:46:48 -0500
commit6b63942e45ebc8f542ef68359268e215da10c611 (patch)
treefc6b888f00fdf7a6a39ca306afd4b795332f5311
parent54ff77dc621a91302abad0ab38d9bd26de8914b9 (diff)
downloadcmake-6b63942e45ebc8f542ef68359268e215da10c611.tar.gz
Watcom: Drop symfile linker option
Cleanup of Windows-wcl386.cmake in commit v3.1.0-rc1~693^2 (Watcom: Cleanup Windows-wcl386 configuration, 2014-04-01) also introduced use of the 'symfile' link option but did not mention it in the commit message. There is no way to set the symbol file name of a target, so it is better to revert that change. It is easy to run 'wstrip *' if the symbols need to be stripped, but it is very difficult to get the right names for the .sym files to install with debug/rel_with_deb_info configurations.
-rw-r--r--Modules/Platform/Windows-wcl386.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-wcl386.cmake b/Modules/Platform/Windows-wcl386.cmake
index ac410de1ba..88f9bf7120 100644
--- a/Modules/Platform/Windows-wcl386.cmake
+++ b/Modules/Platform/Windows-wcl386.cmake
@@ -18,8 +18,8 @@ set(CMAKE_CREATE_CONSOLE_EXE "system nt" )
set(CMAKE_SHARED_LINKER_FLAGS_INIT "system nt_dll")
set(CMAKE_MODULE_LINKER_FLAGS_INIT "system nt_dll")
foreach(type SHARED MODULE EXE)
- set(CMAKE_${type}_LINKER_FLAGS_DEBUG_INIT "debug all opt map, symfile")
- set(CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all opt map, symfile")
+ set(CMAKE_${type}_LINKER_FLAGS_DEBUG_INIT "debug all opt map")
+ set(CMAKE_${type}_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all opt map")
endforeach()
set(CMAKE_C_COMPILE_OPTIONS_DLL "-bd") # Note: This variable is a ';' separated list