summaryrefslogtreecommitdiff
path: root/community/cross-arm-elf-gcc-base/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-04 12:58:32 +0000
committerroot <root@rshg047.dnsready.net>2011-05-04 12:58:32 +0000
commit9780d07c31b22125ad7ecba4e281ff41194f95be (patch)
tree2336cb3e1bd98fe4b7631eb175c25f90a243815a /community/cross-arm-elf-gcc-base/PKGBUILD
parentddb2605f6bccbdb398f3937ff21e4688915a450d (diff)
Wed May 4 12:58:31 UTC 2011
Diffstat (limited to 'community/cross-arm-elf-gcc-base/PKGBUILD')
-rw-r--r--community/cross-arm-elf-gcc-base/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/cross-arm-elf-gcc-base/PKGBUILD b/community/cross-arm-elf-gcc-base/PKGBUILD
index 884d697c8..a46c4185f 100644
--- a/community/cross-arm-elf-gcc-base/PKGBUILD
+++ b/community/cross-arm-elf-gcc-base/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 36540 2011-01-04 13:58:12Z spupykin $
+# $Id: PKGBUILD 46060 2011-05-03 09:42:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=cross-arm-elf-gcc-base
-pkgver=4.5.2
+pkgver=4.6.0
pkgrel=1
pkgdesc="The GNU Compiler Collection"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://gcc.gnu.org"
-depends=('cross-arm-elf-binutils' 'libmpc' 'libelf' 'cloog-ppl')
+depends=('cross-arm-elf-binutils' 'libmpc' 'libelf')
options=(!libtool !emptydirs zipman docs !strip)
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-core-${pkgver}.tar.bz2)
-md5sums=('aa9e36bec080452372bfba793428ee82')
+md5sums=('b1957f3209080b2f55bc3756d3a62b7c')
build() {
cd $srcdir/gcc-$pkgver
@@ -36,6 +36,14 @@ build() {
--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*