mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 15:35:24 +02:00
Revert "Default to the middle element of the gcc tuple for the os name."
This reverts commit 3feb726cf5
.
Change-Id: I98d70947084000b165151b4cf5b43d9b07ca74e7
This commit is contained in:
parent
3feb726cf5
commit
7f0238a2aa
1 changed files with 0 additions and 2 deletions
|
@ -72,8 +72,6 @@ public class GCCPathToolChainProvider implements IToolChainProvider {
|
||||||
case "apple": //$NON-NLS-1$
|
case "apple": //$NON-NLS-1$
|
||||||
gcc.setProperty(IToolChain.ATTR_OS, Platform.OS_MACOSX);
|
gcc.setProperty(IToolChain.ATTR_OS, Platform.OS_MACOSX);
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
gcc.setProperty(IToolChain.ATTR_OS, tuple[1]);
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
if (manager.getToolChain(gcc.getTypeId(), gcc.getId()) == null) {
|
if (manager.getToolChain(gcc.getTypeId(), gcc.getId()) == null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue