summaryrefslogtreecommitdiffstats
path: root/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java')
-rw-r--r--org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java b/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java
index fbe7420..6276708 100644
--- a/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java
+++ b/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java
@@ -41,14 +41,14 @@ public class CommandLineGenerator extends ManagedCommandLineGenerator implements
toolKey = Constants.TOOL_ARCHIVER_KEY;
} else if (id.contains( "assembler")) {
toolKey = Constants.TOOL_ASSEMBLER_KEY;
- } else if (id.contains( "c.compiler")) {
- toolKey = Constants.TOOL_COMPILER_C_KEY;
- } else if (id.contains( "cpp.compiler")) {
+ } else if (id.contains( "compiler.cpp")) {
toolKey = Constants.TOOL_COMPILER_CPP_KEY;
- } else if (id.contains( "c.linker")) {
- toolKey = Constants.TOOL_LINKER_C_KEY;
- } else if (id.contains( "cpp.linker")) {
+ } else if (id.contains( "compiler.c")) {
+ toolKey = Constants.TOOL_COMPILER_C_KEY;
+ } else if (id.contains( "linker.cpp")) {
toolKey = Constants.TOOL_LINKER_CPP_KEY;
+ } else if (id.contains( "linker.c")) {
+ toolKey = Constants.TOOL_LINKER_C_KEY;
}
// Set command name