cross-aarch64-linux-gnu: fix build on i686.

This commit is contained in:
Christian Neukirchen 2015-03-31 15:42:48 +02:00
parent b59c19917b
commit 390da05084

View file

@ -116,7 +116,8 @@ _glibc_headers() {
echo "libc_cv_c_cleanup=yes" >> config.cache
export CC="${_triplet}-gcc" LD="${_triplet}-ld" \
AS="${_triplet}-as" CPP="${_triplet}-cpp"
AS="${_triplet}-as" CPP="${_triplet}-cpp" \
NM="${_triplet}-nm"
../glibc-${_glibc_version}/configure \
--host=${_triplet} --prefix=/usr \
@ -144,7 +145,8 @@ _glibc_build() {
echo "libc_cv_c_cleanup=yes" >> config.cache
export CC="${_triplet}-gcc" LD="${_triplet}-ld" \
AS="${_triplet}-as" CPP="${_triplet}-cpp"
AS="${_triplet}-as" CPP="${_triplet}-cpp" \
NM="${_triplet}-nm"
export CFLAGS="-Os -pipe -Wno-error ${_archflags}"
../glibc-${_glibc_version}/configure \