summaryrefslogtreecommitdiff
path: root/community/arm-elf-gcc-base
diff options
context:
space:
mode:
Diffstat (limited to 'community/arm-elf-gcc-base')
-rw-r--r--community/arm-elf-gcc-base/PKGBUILD61
1 files changed, 0 insertions, 61 deletions
diff --git a/community/arm-elf-gcc-base/PKGBUILD b/community/arm-elf-gcc-base/PKGBUILD
deleted file mode 100644
index 5627f8c6e..000000000
--- a/community/arm-elf-gcc-base/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id: PKGBUILD 82198 2013-01-11 12:12:37Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=arm-elf-gcc-base
-pkgver=4.7.2
-pkgrel=1
-pkgdesc="The GNU Compiler Collection"
-arch=(i686 x86_64)
-license=('GPL' 'LGPL')
-url="http://gcc.gnu.org"
-depends=('arm-elf-binutils' 'libmpc' 'libelf')
-options=(!libtool !emptydirs zipman docs !strip)
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
-md5sums=('cc308a0891e778cfda7a151ab8a6e762')
-
-build() {
- cd $srcdir/gcc-$pkgver
-
- export CFLAGS="-O2 -pipe"
- export CXXFLAGS="-O2 -pipe"
-
- rm -rf build
- mkdir build
- cd build
-
- ../configure --prefix=/usr \
- --target=arm-elf \
- --enable-obsolete \
- --host=$CHOST \
- --build=$CHOST \
- --enable-shared --disable-nls --enable-languages=c --enable-multilib \
- --with-local-prefix=/usr/lib/arm-elf \
- --with-as=/usr/bin/arm-elf-as --with-ld=/usr/bin/arm-elf-ld \
- --enable-softfloat \
- --with-float=soft \
- --with-newlib \
- --with-sysroot=/usr/$CHOST/arm-elf
-
- make all-gcc all-target-libgcc
-}
-
-package() {
- cd $srcdir/gcc-$pkgver/build
-
- export CFLAGS="-O2 -pipe"
- export CXXFLAGS="-O2 -pipe"
-
- make DESTDIR=$pkgdir install-gcc install-target-libgcc
-
- rm -f $pkgdir/usr/share/man/man7/fsf-funding.7*
- rm -f $pkgdir/usr/share/man/man7/gfdl.7*
- rm -f $pkgdir/usr/share/man/man7/gpl.7*
- rm -rf $pkgdir/usr/share/info
-
- cp -r $pkgdir/usr/libexec/* $pkgdir/usr/lib/
- rm -rf $pkgdir/usr/libexec
-
- # strip it manually
- strip $pkgdir/usr/bin/* 2>/dev/null || true
- find $pkgdir/usr/lib -type f -exec arm-elf-strip --strip-debug --strip-unneeded {} \; 2>/dev/null || true
-}