GHS: Remove extra flag to GHS MULTI compiler (#15771)
Do not produce "{optgroup=GhsCommonOptions}" in the generated .gpj files. The flag was added originally to match an old project file, but it does not seem necessary and is not compatible with all GHS versions.
This commit is contained in:
parent
8e394cf9e3
commit
ce7ccafce2
|
@ -217,7 +217,7 @@ void cmGhsMultiTargetGenerator::WriteTypeSpecifics(const std::string &config,
|
|||
|
||||
if (this->Target->GetType() == cmTarget::STATIC_LIBRARY)
|
||||
{
|
||||
*this->GetFolderBuildStreams() << " {optgroup=GhsCommonOptions} -o \""
|
||||
*this->GetFolderBuildStreams() << " -o \""
|
||||
<< outputDir << outputFilename << ".a\""
|
||||
<< std::endl;
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ void cmGhsMultiTargetGenerator::WriteTypeSpecifics(const std::string &config,
|
|||
if (this->IsTargetGroup())
|
||||
{
|
||||
*this->GetFolderBuildStreams()
|
||||
<< " {optgroup=GhsCommonOptions} -o \"" << outputDir
|
||||
<< " -o \"" << outputDir
|
||||
<< outputFilename << ".elf\"" << std::endl;
|
||||
*this->GetFolderBuildStreams() << " :extraOutputFile=\"" << outputDir
|
||||
<< outputFilename << ".elf.ael\""
|
||||
|
@ -238,7 +238,7 @@ void cmGhsMultiTargetGenerator::WriteTypeSpecifics(const std::string &config,
|
|||
}
|
||||
else
|
||||
{
|
||||
*this->GetFolderBuildStreams() << " {optgroup=GhsCommonOptions} -o \""
|
||||
*this->GetFolderBuildStreams() << " -o \""
|
||||
<< outputDir << outputFilename << ".as\""
|
||||
<< std::endl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue