From b1a3a38e0370ded5e1fc1ce3d3ba2433cad5d684 Mon Sep 17 00:00:00 2001 From: Felipe Torrezan Date: Mon, 21 Nov 2022 13:11:40 +0100 Subject: Makefiles: Name object response files with .rsp extension This is more consistent with the Ninja generator, and is necessary for the IAR linker to recognize the argument as a response file. Fixes: #24165 --- Source/cmMakefileTargetGenerator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index c5c5490..766e9f9 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -2249,6 +2249,7 @@ void cmMakefileTargetGenerator::CreateObjectLists( std::string responseFileName = (responseMode == Link) ? "objects" : "deviceObjects"; responseFileName += std::to_string(i + 1); + responseFileName += ".rsp"; // Create this response file. std::string objects_rsp = this->CreateResponseFile( -- cgit v0.12