summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-18 01:54:25 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-18 01:54:25 (GMT)
commit8e31397fe4497321e5a75fb54099cea463ffa007 (patch)
tree524f233a68971b33b455b97c932694464aed69f6
parent1e5b3eb438d4792b18f2d6c9d523ca607bacadd1 (diff)
downloadlinhes_pkgbuild-8e31397fe4497321e5a75fb54099cea463ffa007.zip
linhes_pkgbuild-8e31397fe4497321e5a75fb54099cea463ffa007.tar.gz
linhes_pkgbuild-8e31397fe4497321e5a75fb54099cea463ffa007.tar.bz2
gcc: bump to fix a dep issue
-rw-r--r--abs/core/gcc/PKGBUILD12
-rw-r--r--abs/core/gcc/__changelog1
2 files changed, 12 insertions, 1 deletions
diff --git a/abs/core/gcc/PKGBUILD b/abs/core/gcc/PKGBUILD
index 1cec41a..6699be5 100644
--- a/abs/core/gcc/PKGBUILD
+++ b/abs/core/gcc/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada')
pkgver=4.5.1
-pkgrel=2
+pkgrel=3
#_snapshot=4.5-20100610
_libstdcppmanver=20100719 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection"
@@ -80,6 +80,8 @@ package_gcc-libs()
depends=('glibc>=2.11.1-2')
install=gcc-libs.install
+ CHOST=i686-pc-linux-gnu
+
cd ${_basedir}/build
make -j1 -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
for lib in libmudflap libgomp libssp libstdc++-v3/src; do
@@ -108,6 +110,8 @@ package_gcc()
groups=('base-devel')
install=gcc.install
+ CHOST=i686-pc-linux-gnu
+
cd ${_basedir}/build
# much, much easier to install the lot and clean-up the mess
@@ -173,6 +177,8 @@ package_gcc-fortran()
depends=("gcc=$pkgver-$pkgrel")
install=gcc-fortran.install
+ CHOST=i686-pc-linux-gnu
+
cd ${_basedir}/build
make -j1 DESTDIR=$pkgdir install-target-libgfortran
make -j1 -C $CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS
@@ -192,6 +198,8 @@ package_gcc-objc()
pkgdesc="Objective-C front-end for GCC"
depends=("gcc=$pkgver-$pkgrel")
+ CHOST=i686-pc-linux-gnu
+
cd ${_basedir}/build
make -j1 DESTDIR=$pkgdir install-target-libobjc
install -dm755 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
@@ -211,6 +219,8 @@ package_gcc-ada()
depends=("gcc=$pkgver-$pkgrel")
install=gcc-ada.install
+ CHOST=i686-pc-linux-gnu
+
cd ${_basedir}/build/gcc
make -j1 DESTDIR=$pkgdir ada.install-{common,info}
install -m755 gnat1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver
diff --git a/abs/core/gcc/__changelog b/abs/core/gcc/__changelog
new file mode 100644
index 0000000..aeacc24
--- /dev/null
+++ b/abs/core/gcc/__changelog
@@ -0,0 +1 @@
+add CHOST=i686-pc-linux-gnu to each package-gcc*() section