diff options
author | Felipe Torrezan <felipe.torrezan@iar.com> | 2022-11-21 12:11:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-21 15:29:24 (GMT) |
commit | b1a3a38e0370ded5e1fc1ce3d3ba2433cad5d684 (patch) | |
tree | 13975d92ac09ceaa1363acb9722f01905e19a3bd /Source/cmMakefileTargetGenerator.cxx | |
parent | a0dbfb99aacff122fd2807554f711f0456687693 (diff) | |
download | CMake-b1a3a38e0370ded5e1fc1ce3d3ba2433cad5d684.zip CMake-b1a3a38e0370ded5e1fc1ce3d3ba2433cad5d684.tar.gz CMake-b1a3a38e0370ded5e1fc1ce3d3ba2433cad5d684.tar.bz2 |
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
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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( |