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