${COMMAND} - compiler command from the toolchain, such as "gcc".
+
${COMMAND} - compiler command from the tool-chain, such as "gcc".
+
${FLAGS} - applicable compiler flags from the tool-chain, such as language dialect flag "-std=c++0x".
${INPUTS} - indicates normally an empty specs file required by the compiler.
- In no such file exists the file gets created temporarily in Eclipse workspace plugin area.
+ If no such file exists the file gets created temporarily in Eclipse workspace plugin area.
${EXT} - an extension for the language to discover built-in settings.
A provider can be associated with multiple languages and it will run the command for each language.
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml
index 49687e9de19..272caf0579a 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml
@@ -82,7 +82,7 @@
class="org.eclipse.cdt.managedbuilder.xlc.core.XlcBuiltinSpecsDetector"
id="org.eclipse.cdt.managedbuilder.xlc.core.XlcBuiltinSpecsDetector"
name="%XlcBuiltinSpecsDetectorName"
- parameter="${COMMAND} -E -V -P -w "${INPUTS}"">
+ parameter="${COMMAND} ${FLAGS} -E -V -P -w "${INPUTS}"">