diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-29 22:12:52 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-29 22:12:52 -0300 |
commit | 3a11d9b8dc7fdf9a4dd64bb91ea0c93701db4349 (patch) | |
tree | b2ca5e7e53651e9e1c0a0e4295471a2d8a41128e /libre | |
parent | eb87dd12b3388723a878cfd0ac3866b775705c49 (diff) | |
download | abslibre-3a11d9b8dc7fdf9a4dd64bb91ea0c93701db4349.tar.gz abslibre-3a11d9b8dc7fdf9a4dd64bb91ea0c93701db4349.tar.bz2 abslibre-3a11d9b8dc7fdf9a4dd64bb91ea0c93701db4349.zip |
xtensa-elf-binutils: fix issues
Diffstat (limited to 'libre')
-rw-r--r-- | libre/xtensa-elf-binutils/PKGBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libre/xtensa-elf-binutils/PKGBUILD b/libre/xtensa-elf-binutils/PKGBUILD index b7b937617..bb0239dd5 100644 --- a/libre/xtensa-elf-binutils/PKGBUILD +++ b/libre/xtensa-elf-binutils/PKGBUILD @@ -3,10 +3,9 @@ # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> # Contributor (Parabola): Márcio Silva <coadde@lavabit.com> -_pkgname=binutils pkgname=xtensa-elf-binutils pkgver=2.23.2 -pkgrel=2 +pkgrel=2.1 pkgdesc="A set of programs to assemble and manipulate binary and object files" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/binutils/" @@ -39,12 +38,13 @@ build() { cd ${srcdir}/binutils-build ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ - --with-lib-path=/usr/lib:/usr/local/lib \ + --with-lib-path=/usr/lib/binutils/xtensa-elf \ --with-bugurl=https://labs.parabola.nu/ \ --enable-ld=default --enable-gold \ --enable-plugins --enable-threads \ --with-pic --enable-shared \ --disable-werror --disable-multilib \ + --with-sysroot=/usr/$CHOST/xtensa-elf \ --program-prefix=xtensa-elf- \ --target=xtensa-elf @@ -76,4 +76,16 @@ package() { # Remove unwanted files rm ${pkgdir}/usr/share/man/man1/xtensa-elf-{dlltool,nlmconv,windres,windmc}* rm ${pkgdir}/usr/share/info/{configure,standards}.info + + # Remove unnecessary files and folders + rm -f $pkgdir/usr/bin/ar + rm -f $pkgdir/usr/bin/as + rm -f $pkgdir/usr/bin/ld + rm -f $pkgdir/usr/bin/nm + rm -f $pkgdir/usr/bin/objdump + rm -f $pkgdir/usr/bin/ranlib + rm -f $pkgdir/usr/bin/strip + rm -f $pkgdir/usr/bin/objcopy + rm -f $pkgdir/usr/lib/libiberty.a + rm -rf $pkgdir/usr/share } |