diff --git a/Modules/CMakeDefaultMakeRuleVariables.cmake b/Modules/CMakeDefaultMakeRuleVariables.cmake index ad208d2ba..0862a05d4 100644 --- a/Modules/CMakeDefaultMakeRuleVariables.cmake +++ b/Modules/CMakeDefaultMakeRuleVariables.cmake @@ -27,12 +27,13 @@ # # # +# # C compiler information # # # - +# # Static library tools # @@ -90,11 +91,11 @@ ENDIF(NOT CMAKE_C_COMPILE_OBJECT) IF(NOT CMAKE_C_LINK_EXECUTABLE) SET(CMAKE_C_LINK_EXECUTABLE - " -o ") + " -o ") ENDIF(NOT CMAKE_C_LINK_EXECUTABLE) IF(NOT CMAKE_CXX_LINK_EXECUTABLE) SET(CMAKE_CXX_LINK_EXECUTABLE - " -o ") + " -o ") ENDIF(NOT CMAKE_CXX_LINK_EXECUTABLE) diff --git a/Modules/Platform/Linux-como.cmake b/Modules/Platform/Linux-como.cmake index 64bed7a32..9b2cb853a 100644 --- a/Modules/Platform/Linux-como.cmake +++ b/Modules/Platform/Linux-como.cmake @@ -11,6 +11,6 @@ SET(CMAKE_CXX_CREATE_STATIC_LIBRARY SET(CMAKE_CXX_LINK_EXECUTABLE " --prelink_objects " - " -o ") + " -o ") SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "") diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index 0e28aac65..ee714fe25 100644 --- a/Modules/Platform/Windows-bcc32.cmake +++ b/Modules/Platform/Windows-bcc32.cmake @@ -57,11 +57,11 @@ SET(CMAKE_C_COMPILE_OBJECT SET(CMAKE_C_LINK_EXECUTABLE - " ${CMAKE_START_TEMP_FILE}-e ${CMAKE_END_TEMP_FILE}") + " ${CMAKE_START_TEMP_FILE}-e ${CMAKE_END_TEMP_FILE}") SET(CMAKE_CXX_LINK_EXECUTABLE - " ${CMAKE_START_TEMP_FILE} -e ${CMAKE_END_TEMP_FILE}") + " ${CMAKE_START_TEMP_FILE} -e ${CMAKE_END_TEMP_FILE}") SET (CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel.") diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index df220134d..ced7b7b46 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -37,12 +37,12 @@ SET(CMAKE_C_COMPILE_OBJECT SET(CMAKE_C_LINK_EXECUTABLE - " /nologo ${CMAKE_START_TEMP_FILE} /Fe -link ${CMAKE_END_TEMP_FILE}") + " /nologo ${CMAKE_START_TEMP_FILE} /Fe -link ${CMAKE_END_TEMP_FILE}") SET(CMAKE_COMPILE_RESOURCE "rc /fo ") SET(CMAKE_CXX_LINK_EXECUTABLE - " /nologo ${CMAKE_START_TEMP_FILE} /Fe -link ${CMAKE_END_TEMP_FILE}") + " /nologo ${CMAKE_START_TEMP_FILE} /Fe -link ${CMAKE_END_TEMP_FILE}") SET (CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel.") diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index e309bc5cb..de20907ee 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -662,13 +662,11 @@ static RuleVariables ruleReplaceVars[] = { {"", "CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS"}, {"", "CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS"}, - {"", "CMAKE_CXX_LINK_FLAGS"}, {"", "CMAKE_SHARED_MODULE_C_FLAGS"}, {"", "CMAKE_SHARED_MODULE_CXX_FLAGS"}, {"", "CMAKE_SHARED_LIBRARY_C_FLAGS"}, {"", "CMAKE_SHARED_LIBRARY_CXX_FLAGS"}, {"", "CMAKE_CXX_LINK_FLAGS"}, - {"", "CMAKE_CXX_LINK_FLAGS"}, {"", "CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS"}, {"", "CMAKE_SHARED_MODULE_CREATE_C_FLAGS"},