glibc: prepare to be a bootstrap pkg; supersedes chroot-glibc.
This commit is contained in:
parent
7751c03827
commit
1f854abff5
|
@ -9,7 +9,12 @@ license="GPL-2, LGPL-2.1, BSD"
|
|||
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.xz"
|
||||
checksum=2cb4e1e381928f1e5e55e71ab1ba8e0ea7ede75ff9709770435bfd018ea257a3
|
||||
|
||||
hostmakedepends="bison perl"
|
||||
bootstrap=yes
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="bison perl"
|
||||
fi
|
||||
|
||||
# Force creation of -dbg pkg, required by valgrind.
|
||||
force_debug_pkgs=yes
|
||||
|
||||
|
@ -34,12 +39,12 @@ do_configure() {
|
|||
_floatabi="--with-float=hard"
|
||||
fi
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
_headers="--with-headers=$XBPS_CROSS_BASE/include"
|
||||
_headers="--with-headers=${XBPS_CROSS_BASE}/usr/include"
|
||||
else
|
||||
_headers="--with-headers=/usr/include"
|
||||
_headers="--with-headers=${XBPS_MASTERDIR}/usr/include"
|
||||
fi
|
||||
|
||||
../configure ${configure_args} \
|
||||
SHELL=/bin/bash ../configure ${configure_args} \
|
||||
--bindir=/usr/bin --sbindir=/usr/sbin \
|
||||
--enable-add-ons=ports,nptl,libidn --enable-obsolete-rpc \
|
||||
--enable-multi-arch --enable-bind-now \
|
||||
|
|
Loading…
Reference in New Issue