binutils: drop unset hack

This commit is contained in:
q66 2020-11-01 02:41:34 +01:00
parent 62fa9161e9
commit 28aa2b34a4

View file

@ -15,7 +15,6 @@ if [ "$CHROOT_READY" ]; then
checkdepends="bc"
depends="binutils-doc"
else
unset XBPS_CHECK_PKGS
XBPS_TRIPLET=x86_64-unknown-linux-gnu
fi
makedepends+=" zlib-devel"
@ -43,6 +42,7 @@ do_configure() {
--enable-deterministic-archives --enable-ld=default \
--disable-nls $CONFIGFLAG
}
do_build() {
make ${makejobs}
@ -62,11 +62,14 @@ do_build() {
make -C opcodes-pic clean
make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
}
# if you enable this later, keep it off for [ -z "$CHROOT_READY" ]
do_check() {
# Seems like upstream forgot to include their new
# test-driver executable in their tarball...
:
}
do_install() {
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
mkdir -p ${DESTDIR}/usr/lib