From 763b44e51909674f87bbacc8fb3400254fad074c Mon Sep 17 00:00:00 2001 From: Josef Angstenberger Date: Sat, 11 Jul 2020 16:32:09 +0200 Subject: Compiler/TI: Avoid usage of ranlib If a ranlib executable has been found it is used for finishing an archive. In case of the TI compiler the archive file gets corrupted. Fixes: #14876 --- Modules/Compiler/TI.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Compiler/TI.cmake b/Modules/Compiler/TI.cmake index 5e1e1e6..59dd585 100644 --- a/Modules/Compiler/TI.cmake +++ b/Modules/Compiler/TI.cmake @@ -27,6 +27,7 @@ macro(__compiler_ti lang) set(CMAKE_${lang}_ARCHIVE_CREATE " qr ") set(CMAKE_${lang}_ARCHIVE_APPEND " qa ") + set(CMAKE_${lang}_ARCHIVE_FINISH "") set(CMAKE_${lang}_LINK_EXECUTABLE " --run_linker --output_file= --map_file=.map ") endmacro() -- cgit v0.12