From 68ea936ff5650155c31438da8e7838e05d0e119f Mon Sep 17 00:00:00 2001 From: Andreas Weis Date: Tue, 23 May 2017 07:25:27 +0200 Subject: Added space after IAR response file flag Without the space between the flag and the filename, IAR will fail to parse the arguments correctly. --- Modules/Compiler/IAR-C.cmake | 2 +- Modules/Compiler/IAR-CXX.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Compiler/IAR-C.cmake b/Modules/Compiler/IAR-C.cmake index f1b6ff7..f65b0c7 100644 --- a/Modules/Compiler/IAR-C.cmake +++ b/Modules/Compiler/IAR-C.cmake @@ -7,7 +7,7 @@ set(CMAKE_C_COMPILE_OBJECT " --preprocess=cnl ") set(CMAKE_C_CREATE_ASSEMBLY_SOURCE " -lAH -o .dummy") -set(CMAKE_C_RESPONSE_FILE_LINK_FLAG "-f") +set(CMAKE_C_RESPONSE_FILE_LINK_FLAG "-f ") set(CMAKE_DEPFILE_FLAGS_C "--dependencies=ns ") # The toolchains for ARM and AVR are quite different: diff --git a/Modules/Compiler/IAR-CXX.cmake b/Modules/Compiler/IAR-CXX.cmake index ffb144f..f49968e 100644 --- a/Modules/Compiler/IAR-CXX.cmake +++ b/Modules/Compiler/IAR-CXX.cmake @@ -7,7 +7,7 @@ set(CMAKE_CXX_COMPILE_OBJECT " --preprocess=cnl ") set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -lAH -o .dummy") -set(CMAKE_CXX_RESPONSE_FILE_LINK_FLAG "-f") +set(CMAKE_CXX_RESPONSE_FILE_LINK_FLAG "-f ") set(CMAKE_DEPFILE_FLAGS_CXX "--dependencies=ns ") if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "ARM") -- cgit v0.12