1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 01:36:01 +02:00

Fixes User Defined Toolchain clang type forgetfullnes

When a User Defined Toolchain of type clang was created (Preferences >
C/C++ > Core Build Toolchains > User Defined Toolchains) the Type was
reported correctly as clang. But after restarting the workbench the Type
was reported as GCC. This is now fixed so the Type always shows as clang
for a clang toolchain.
This commit is contained in:
John Moule 2025-06-02 22:57:49 +01:00
parent b4d81a130e
commit 143bbe7089

View file

@ -154,6 +154,7 @@ public class GCCUserToolChainProvider implements IUserToolChainProvider {
toolChains.add(newtc);
newtc.addProperty(ID, gcc.getId());
newtc.addProperty(TYPE, gcc.getTypeId());
newtc.addProperty(ARCH, gcc.getProperty(IToolChain.ATTR_ARCH));
newtc.addProperty(PATH, gcc.getPath().toString());