From 8e31397fe4497321e5a75fb54099cea463ffa007 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Thu, 18 Nov 2010 01:54:25 +0000
Subject: gcc: bump to fix a dep issue

---
 abs/core/gcc/PKGBUILD    | 12 +++++++++++-
 abs/core/gcc/__changelog |  1 +
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 abs/core/gcc/__changelog

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
-- 
cgit v0.12

