diff options
author | Janez Žemva | 2022-05-04 07:06:23 +0200 |
---|---|---|
committer | Janez Žemva | 2022-05-04 07:06:23 +0200 |
commit | 3cbba8acb6461d3467c3eb1509f1795798a6dc37 (patch) | |
tree | 3419a6e6dc54a4492947324b1c9cce18e9176b09 | |
parent | 8c81a8613875fc48665121668c2d099da8da1177 (diff) | |
download | aur-3cbba8acb6461d3467c3eb1509f1795798a6dc37.tar.gz |
some fixes
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 11 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = dosbox-binutils pkgdesc = binutils for the djgpp dosbox cross-compiler pkgver = 2.35 - pkgrel = 2 + pkgrel = 3 url = http://www.gnu.org/software/binutils arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=dosbox-binutils pkgver=2.35 -pkgrel=2 +pkgrel=3 pkgdesc="binutils for the djgpp dosbox cross-compiler" arch=('i686' 'x86_64') url="http://www.gnu.org/software/binutils" @@ -22,30 +22,30 @@ _target="i586-pc-msdosdjgpp" prepare() { cd binutils-$pkgver - - # hack! - libiberty configure tests for header files break with FORTIFY_SOURCE - sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure - patch -Np1 <${srcdir}/binutils-djgpp.patch patch -Np1 <${srcdir}/binutils-bfd-djgpp.patch } build() { - mkdir -p binutils-$_target - export CPPFLAGS="$CPPFLAGS -Ofast" + + mkdir -p binutils-$_target cd binutils-$_target - ../binutils-$pkgver/configure --prefix=/usr \ + ../binutils-$pkgver/configure \ + --prefix=/usr \ --target="$_target" \ --infodir="/usr/share/info/$_target" \ --datadir="/usr/$_target/share" \ - --enable-lto --enable-plugins \ + --enable-lto \ --disable-install-libiberty \ - --disable-multilib --disable-nls \ + --disable-multilib \ + --disable-nls \ + --disable-plugins \ --disable-werror make } package() { make -C binutils-$_target DESTDIR="$pkgdir/" install + rm -rf $pkgdir/usr/share/{man,info} } |