mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
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
|
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 \
|
||||||
|
|
Loading…
Add table
Reference in a new issue