[Buildroot] [PATCH 3/8] external toolchain: use LANG=C when calling gcc -v
Peter Korsgaard
jacmet at uclibc.org
Fri Jul 17 20:50:35 UTC 2009
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> Lionel Landwerlin <lionel.landwerlin at openwide.fr> reported that using
Thomas> the external toolchain support when LANG=fr_FR.UTF-8 doesn't work,
Thomas> since the messages printed by gcc -v are translated in another
Thomas> language, defeating the grep ^Configured test.
Thomas> Therefore, as per Lionel suggestion, we force LANG=C when calling
Thomas> $(TARGET_CC) -v.
I use LANG=C/en_US myself, but wouldn't it make sense to fix this
globally in the main Makefile instead as we might have similar
problems other places? The only disadvantage I can think of is that
the users will get error messages in English (but that's a good thing
when they send logs to us).
Could someone with a different locale test that please? E.G. add an:
export LANG=C
To the toplevel Makefile.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list