Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2018-05-06 07:10:41 +0000
committerDoug Schaefer2018-05-06 07:10:41 +0000
commit7f0238a2aa4c989c428a892749ad7fc8ef930ba2 (patch)
tree4fba6707f5ccab9bf55272bec7ac2d0a6bf35b62 /build/org.eclipse.cdt.build.gcc.core
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/org.eclipse.cdt.build.gcc.core')
-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 7c5e7b3c261..7debdd90391 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