From 9c7ce40bfbf580ebfc50484a069b44dc9aa463fd Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 28 Jul 2016 23:05:32 +0200 Subject: [PATCH] Configurations/unix-Makefile.tmpl: add LC_ALL=C to unify messages. RT#4138 Reviewed-by: Rich Salz --- Configurations/unix-Makefile.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 6c4485be00..3caa216c8c 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -222,6 +222,15 @@ PERLASM_SCHEME= {- $target{perlasm_scheme} -} # the 80386. PROCESSOR= {- $config{processor} -} +# We want error [and other] messages in English. Trouble is that make(1) +# doesn't pass macros down as environment variables unless there already +# was corresponding variable originally set. In other words we can only +# reassign environment variables, but not set new ones, not in portable +# manner that is. That's why we reassign several, just to be sure... +LC_ALL=C +LC_MESSAGES=C +LANG=C + # The main targets ################################################### {- dependmagic('all'); -}: build_libs_nodep build_engines_nodep build_programs_nodep link-utils