summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index db84dbdf393..4d1dce712ba 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4627,7 +4627,9 @@ main (argc, argv)
while (p != argv[0] && p[-1] != '/' && p[-1] != DIR_SEPARATOR) --p;
programname = p;
+#ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
+#endif
bindtextdomain (PACKAGE, localedir);
textdomain (PACKAGE);