Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2012-05-31 17:31:59 -0400
committerAndrew Gvozdev2012-05-31 17:31:59 -0400
commitbdba5983b483556a157382a87b8fda91e0d8be43 (patch)
tree34be4505ed0a373b1d2c42662e1806006fcd1e76 /build/org.eclipse.cdt.managedbuilder.core
parent2776e06605754d52ce75effaf237edbbedddda73 (diff)
downloadorg.eclipse.cdt-bdba5983b483556a157382a87b8fda91e0d8be43.tar.gz
org.eclipse.cdt-bdba5983b483556a157382a87b8fda91e0d8be43.tar.xz
org.eclipse.cdt-bdba5983b483556a157382a87b8fda91e0d8be43.zip
[sd90] Set env LANGUAGE to valid value "en" instead of "C" for LSP Specs detectors
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java
index e90b22987e..85a4f29420 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/language/settings/providers/AbstractBuiltinSpecsDetector.java
@@ -580,7 +580,7 @@ public abstract class AbstractBuiltinSpecsDetector extends AbstractLanguageSetti
// with UTF-8 encoding since GNU compilers can handle only UTF-8 characters.
// Include paths with locale characters will be handled properly regardless
// of the language as long as the encoding is set to UTF-8.
- // Default language is set for parser because it relies on English messages
+ // English language is set for parser because it relies on English messages
// in the output of the 'gcc -v' command.
List<String> envp = new ArrayList<String>(Arrays.asList(BuildRunnerHelper.getEnvp(currentCfgDescription)));
@@ -590,7 +590,7 @@ public abstract class AbstractBuiltinSpecsDetector extends AbstractLanguageSetti
iterator.remove();
}
}
- envp.add(ENV_LANGUAGE + "=C"); // override for GNU gettext //$NON-NLS-1$
+ envp.add(ENV_LANGUAGE + "=en"); // override for GNU gettext //$NON-NLS-1$
envp.add(ENV_LC_ALL + "=C.UTF-8"); // for other parts of the system libraries //$NON-NLS-1$
return envp.toArray(new String[envp.size()]);

Back to the top