summaryrefslogtreecommitdiff
path: root/multilib/lib32-libstdc++5
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
commit4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (patch)
tree3ea5705a573fd320639395f484fc12335e0a1b88 /multilib/lib32-libstdc++5
parent54b7119c36756b86ea463649ee972cd6c1ce5863 (diff)
Thu Feb 9 23:14:54 UTC 2012
Diffstat (limited to 'multilib/lib32-libstdc++5')
-rw-r--r--multilib/lib32-libstdc++5/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/multilib/lib32-libstdc++5/PKGBUILD b/multilib/lib32-libstdc++5/PKGBUILD
index 3d30a4b0e..8d46308f9 100644
--- a/multilib/lib32-libstdc++5/PKGBUILD
+++ b/multilib/lib32-libstdc++5/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 26620 2010-09-15 22:43:15Z bluewind $
+# $Id: PKGBUILD 64034 2012-02-08 19:14:10Z pschmitz $
pkgname=lib32-libstdc++5
pkgver=3.3.6
-pkgrel=5
+pkgrel=6
pkgdesc="Legacy GNU Standard C++ library version 3 (32 bit)"
arch=(x86_64)
url="http://gcc.gnu.org"
@@ -17,11 +17,14 @@ md5sums=('18c52e6fb8966b7700665dca289d077f'
'b2a96584f4cee72362695ba44c911c40')
build(){
- export CFLAGS=$(echo $CFLAGS | sed 's|-mtune=generic||')
- export CXXFLAGS=$(echo $CXXFLAGS | sed 's|-mtune=generic||')
+ export CFLAGS="-march=${CARCH/_/-} -O2 -pipe"
+ export CXXFLAGS="-march=${CARCH/_/-} -O2 -pipe"
cd ${srcdir}/gcc-${pkgver}
- patch -Np0 -i ../gcc-3.4.3-no_multilib_amd64.patch
+ patch -Np0 -i $srcdir/gcc-3.4.3-no_multilib_amd64.patch
+
+ # fix build issue with recent gcc
+ sed -i "s#O_CREAT#O_CREAT, 0666#" gcc/collect2.c
# No fixincludes
sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in