summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-16 12:45:54 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-16 12:45:54 (GMT)
commitb6da714af79578bfdcbfe990addc557448b51eea (patch)
treed25dd231b80372a014cfd05ef90339fa95558b77 /Modules
parentaf46484bc4d1c928453d10d2daa89b43313484ff (diff)
parentd608e85cfea0616ce292b8abdf4419c3fc349604 (diff)
downloadCMake-b6da714af79578bfdcbfe990addc557448b51eea.zip
CMake-b6da714af79578bfdcbfe990addc557448b51eea.tar.gz
CMake-b6da714af79578bfdcbfe990addc557448b51eea.tar.bz2
Merge topic 'armcc-response-file-flag'
d608e85c ARMCC: Fix flag used for response files
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/ARMCC.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/ARMCC.cmake b/Modules/Compiler/ARMCC.cmake
index 2ec75c3..250a8f4 100644
--- a/Modules/Compiler/ARMCC.cmake
+++ b/Modules/Compiler/ARMCC.cmake
@@ -28,6 +28,7 @@ macro(__compiler_armcc lang)
set(CMAKE_${lang}_OUTPUT_EXTENSION ".o")
set(CMAKE_${lang}_OUTPUT_EXTENSION_REPLACE 1)
+ set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "--via=")
set(CMAKE_${lang}_LINK_EXECUTABLE "<CMAKE_LINKER> <CMAKE_${lang}_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES> <OBJECTS> -o <TARGET> --list <TARGET_BASE>.map")
set(CMAKE_${lang}_CREATE_STATIC_LIBRARY "<CMAKE_AR> --create -cr <TARGET> <LINK_FLAGS> <OBJECTS>")