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
This commit is contained in:
Felipe Torrezan
2022-11-21 13:11:40 +01:00
committed by Brad King
parent a0dbfb99aa
commit b1a3a38e03

View File

@@ -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(