cross-powerpc64le-linux-gnu: fix glibc-headers configure

Using --target is wrong, the correct argument is --host otherwise
it will use incorrect headers.

[ci skip]

Closes: #11352 [via git-merge-pr]
This commit is contained in:
q66 2019-04-27 03:47:54 +02:00 committed by Jürgen Buchmüller
parent 21f3310bc2
commit da7eb611cb
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.30
revision=1
revision=2
short_desc="GNU cross toolchain for the ${_triplet} targets (binutils/gcc/glibc)"
maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/"
@ -159,8 +159,8 @@ _glibc_headers() {
AS="${_triplet}-as" CPP="${_triplet}-cpp" \
NM="${_triplet}-nm"
_args="--target=${_triplet}"
_args+=" --prefix=/usr"
_args=" --prefix=/usr"
_args+=" --host=${_triplet}"
_args+=" --with-headers=${_sysroot}/usr/include"
_args+=" --config-cache"
_args+=" --enable-obsolete-rpc"