1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Bug 579756: Add support for prefixed toolchain binaries in parser

The GCCBuildCOmmandParser expects the compiler tool to be exactly what's
included in the pattern, i.e. a prefixed toolchain (for example
"arm-none-eabi-" would not match.

Contributed by STMicroelectronics

Change-Id: I9e6b83509ecac9c382f565e5c7b737d12398a196
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
This commit is contained in:
Torbjörn Svensson 2022-04-19 21:44:54 +02:00
parent e16e7ea5cb
commit a58a1bdd2e
2 changed files with 2 additions and 2 deletions

View file

@ -652,7 +652,7 @@
class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser"
id="org.eclipse.cdt.autotools.core.LibtoolGCCBuildCommandParser"
name="%LibtoolGCCBuildOutputParser.name"
parameter="(libtool:\s+compile:\s+)?((g?cc)|([gc]\+\+)|(clang))"
parameter="(libtool:\s+compile:\s+)?([^/\\\\]*)((g?cc)|([gc]\+\+)|(clang))"
prefer-non-shared="true">
</provider>
</extension>

View file

@ -629,7 +629,7 @@
class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser"
id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"
name="%GCCBuildOutputParser.name"
parameter="(g?cc)|([gc]\+\+)|(clang)"
parameter="([^/\\\\]*)((g?cc)|([gc]\+\+)|(clang))"
prefer-non-shared="true">
</provider>
<provider