core: override the user's locale while setting HOSTARCH
authorRomain Naour <romain.naour@gmail.com>
Wed, 20 Jan 2016 21:53:19 +0000 (22:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 20 Jan 2016 22:00:01 +0000 (23:00 +0100)
commit86229d64eb1c17bd7fa71aff6c198f4326b81c25
tree260d9867f7b747a29b80381568347416a7634fa8
parentf850ff4ccaabefbffb905c69a1697312a301326a
core: override the user's locale while setting HOSTARCH

At least with French user's locale HOSTARCH is empty since
'Target' is not present in gcc output.

gcc -v 2>&1
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/lto-wrapper
Cible : x86_64-redhat-linux

Override the user's local with LC_ALL=C.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile