diff options
-rw-r--r-- | srcpkgs/binutils/template | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index cd79aeb45b6..c6e48c79f18 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -9,9 +9,13 @@ homepage="http://www.gnu.org/software/binutils/" license="GPL-3" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.bz2" checksum=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 +nopie=yes if [ "$CHROOT_READY" ]; then hostmakedepends="flex perl" + checkdepends="bc" +else + export XBPS_CHECK_PKGS=0 fi makedepends+=" zlib-devel" @@ -57,6 +61,9 @@ do_build() { make -C opcodes-pic clean make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic } +do_check() { + make -k check +} do_install() { if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then mkdir -p ${DESTDIR}/usr/lib |