Skip to main content
summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDoug Schaefer2018-05-06 03:10:41 -0400
committerDoug Schaefer2018-05-06 03:10:41 -0400
commit7f0238a2aa4c989c428a892749ad7fc8ef930ba2 (patch)
tree4fba6707f5ccab9bf55272bec7ac2d0a6bf35b62 /build
parent3feb726cf56193c1a24d02381e8bbac763dca8dd (diff)
downloadorg.eclipse.cdt-7f0238a2aa4c989c428a892749ad7fc8ef930ba2.tar.gz
org.eclipse.cdt-7f0238a2aa4c989c428a892749ad7fc8ef930ba2.tar.xz
org.eclipse.cdt-7f0238a2aa4c989c428a892749ad7fc8ef930ba2.zip
Revert "Default to the middle element of the gcc tuple for the os name."
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/internal/GCCPathToolChainProvider.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/internal/GCCPathToolChainProvider.java b/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/internal/GCCPathToolChainProvider.java
index 7c5e7b3c26..7debdd9039 100644
--- a/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/internal/GCCPathToolChainProvider.java
+++ b/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/internal/GCCPathToolChainProvider.java
@@ -72,8 +72,6 @@ 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) {

Back to the top