diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-11-14 14:06:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-15 14:31:33 (GMT) |
commit | d608e85cfea0616ce292b8abdf4419c3fc349604 (patch) | |
tree | 66e6bde46b3b63fea4ee3d55c2b55a76519f67ce /Modules | |
parent | 5cfc2e926af645840c6a0464451af18f08528879 (diff) | |
download | CMake-d608e85cfea0616ce292b8abdf4419c3fc349604.zip CMake-d608e85cfea0616ce292b8abdf4419c3fc349604.tar.gz CMake-d608e85cfea0616ce292b8abdf4419c3fc349604.tar.bz2 |
ARMCC: Fix flag used for response files
ARMCC does not use the `@` sigil to indicate response files, but instead
the `--via=` flag. See the documentation here:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491h/CHDCIEGC.html
Fixes: #16425
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/ARMCC.cmake | 1 |
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>") |