cross-aarch64-linux-gnu: fix build on i686.
This commit is contained in:
parent
b59c19917b
commit
390da05084
1 changed files with 4 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue