1
0
Fork 0
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:
Doug Schaefer 2018-05-06 02:10:41 -05:00
parent 3feb726cf5
commit 7f0238a2aa

View file

@ -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) {