From d608e85cfea0616ce292b8abdf4419c3fc349604 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 14 Nov 2016 09:06:12 -0500 Subject: 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 --- Modules/Compiler/ARMCC.cmake | 1 + 1 file changed, 1 insertion(+) 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 " -o --list .map") set(CMAKE_${lang}_CREATE_STATIC_LIBRARY " --create -cr ") -- cgit v0.12