mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56: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:
parent
b4d81a130e
commit
143bbe7089
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ public class GCCUserToolChainProvider implements IUserToolChainProvider {
|
||||||
toolChains.add(newtc);
|
toolChains.add(newtc);
|
||||||
|
|
||||||
newtc.addProperty(ID, gcc.getId());
|
newtc.addProperty(ID, gcc.getId());
|
||||||
|
newtc.addProperty(TYPE, gcc.getTypeId());
|
||||||
newtc.addProperty(ARCH, gcc.getProperty(IToolChain.ATTR_ARCH));
|
newtc.addProperty(ARCH, gcc.getProperty(IToolChain.ATTR_ARCH));
|
||||||
newtc.addProperty(PATH, gcc.getPath().toString());
|
newtc.addProperty(PATH, gcc.getPath().toString());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue