cross-aarch64-linux-gnu: fix build on i686.
This commit is contained in:
@@ -116,7 +116,8 @@ _glibc_headers() {
|
|||||||
echo "libc_cv_c_cleanup=yes" >> config.cache
|
echo "libc_cv_c_cleanup=yes" >> config.cache
|
||||||
|
|
||||||
export CC="${_triplet}-gcc" LD="${_triplet}-ld" \
|
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 \
|
../glibc-${_glibc_version}/configure \
|
||||||
--host=${_triplet} --prefix=/usr \
|
--host=${_triplet} --prefix=/usr \
|
||||||
@@ -144,7 +145,8 @@ _glibc_build() {
|
|||||||
echo "libc_cv_c_cleanup=yes" >> config.cache
|
echo "libc_cv_c_cleanup=yes" >> config.cache
|
||||||
|
|
||||||
export CC="${_triplet}-gcc" LD="${_triplet}-ld" \
|
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}"
|
export CFLAGS="-Os -pipe -Wno-error ${_archflags}"
|
||||||
|
|
||||||
../glibc-${_glibc_version}/configure \
|
../glibc-${_glibc_version}/configure \
|
||||||
|
|||||||
Reference in New Issue
Block a user