From 65c1320719923d72fcb24c3ad2095ef77b929470 Mon Sep 17 00:00:00 2001 From: Alekseev Alexey Date: Wed, 8 Apr 2020 12:38:49 +0300 Subject: Compiler/TI: Fix C++ toolchain command-lines Applied commit 5a0fc68312 (TI: Fix C toolchain command-lines, 2020-03-03) for C++: Fix `armar` arguments. Fix the linker `--map_file=` argument. Enable response files. --- Modules/Compiler/TI-CXX.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Modules/Compiler/TI-CXX.cmake b/Modules/Compiler/TI-CXX.cmake index 08a830a..7836543 100644 --- a/Modules/Compiler/TI-CXX.cmake +++ b/Modules/Compiler/TI-CXX.cmake @@ -8,5 +8,8 @@ set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " --compile_only --skip set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " --preproc_only --cpp_file= --output_file=") set(CMAKE_CXX_COMPILE_OBJECT " --compile_only --cpp_file= --output_file=") -set(CMAKE_CXX_ARCHIVE_CREATE " -r ") -set(CMAKE_CXX_LINK_EXECUTABLE " --run_linker --output_file= --map_file=.map ") +set(CMAKE_CXX_ARCHIVE_CREATE " qr ") +set(CMAKE_CXX_ARCHIVE_APPEND " qa ") +set(CMAKE_CXX_LINK_EXECUTABLE " --run_linker --output_file= --map_file=.map ") +set(CMAKE_CXX_RESPONSE_FILE_FLAG "--cmd_file=") +set(CMAKE_CXX_RESPONSE_FILE_LINK_FLAG " ") -- cgit v0.12