diff options
Diffstat (limited to 'adapted/binutils-ia16/PKGBUILD')
-rw-r--r-- | adapted/binutils-ia16/PKGBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/adapted/binutils-ia16/PKGBUILD b/adapted/binutils-ia16/PKGBUILD index 6e694ac..311da43 100644 --- a/adapted/binutils-ia16/PKGBUILD +++ b/adapted/binutils-ia16/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com> pkgname=binutils-ia16 pkgver=20221221 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="IA-16 (Intel 16-bit x86) port of GNU Binutils" arch=('x86_64') @@ -18,18 +18,27 @@ build() { cd build-binutils unset CPPFLAGS ../binutils-ia16-$pkgver/configure \ - --prefix=/ \ - --bindir=/usr/bin \ - --libdir=/usr/lib/ia16-elf/ \ + --prefix=/usr \ --target=ia16-elf \ + --enable-ld=default \ + --enable-gold=yes \ + --enable-targets=ia16-elf \ + --enable-x86-hpa-segelf=yes \ + --bindir=/usr/bin \ + --libdir=/usr/lib/ia16-elf \ --disable-gdb \ --disable-libdecnumber \ --disable-readline \ --disable-sim \ --disable-nls \ --disable-werror - make configure-host - make tooldir=/usr + make +} + +check() { + cd build-binutils + # some debugging tests fail currently + make -k check || : } package() { |