summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.rtems.cdt/src/org/rtems/cdt/Storage.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.rtems.cdt/src/org/rtems/cdt/Storage.java b/org.rtems.cdt/src/org/rtems/cdt/Storage.java
index 745d7dd..8e66571 100644
--- a/org.rtems.cdt/src/org/rtems/cdt/Storage.java
+++ b/org.rtems.cdt/src/org/rtems/cdt/Storage.java
@@ -386,6 +386,16 @@ public class Storage {
}
optionsValue += OPTION_SEPARATOR + option;
}
+
+ // FIXME: This is a workaround for tools with long filenames under Windows.
+ // It is also a workaround for the internal builder since this one does not care about
+ // the environment provider to fix the $PATH.
+ IPath commandPath = new Path(
+ Storage.getProperty( project, Constants.BASE_PATH_KEY)
+ )
+ .append( "bin")
+ .append( command);
+ command = commandPath.toString();
// Set properties
setProperty( project, toolKey, command);