summaryrefslogtreecommitdiff
path: root/community/mingw32-gcc/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-28 08:22:26 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-28 08:22:26 -0500
commitcf34f2a7f0e4e0ca113a46845509e43cdc0eb3c3 (patch)
tree009c64b580f512fe47a0543b590580585b56534f /community/mingw32-gcc/PKGBUILD
parent3dc4525661db2630038e019a2a31b71fdcbfb74a (diff)
parent1732308adb7885b00fc388f978e65b3ad15aa067 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: community/mingw32-gcc/PKGBUILD extra/transmission/PKGBUILD libre/icecat/PKGBUILD multilib/nspluginwrapper/PKGBUILD
Diffstat (limited to 'community/mingw32-gcc/PKGBUILD')
-rw-r--r--community/mingw32-gcc/PKGBUILD34
1 files changed, 11 insertions, 23 deletions
diff --git a/community/mingw32-gcc/PKGBUILD b/community/mingw32-gcc/PKGBUILD
index b42d83c86..c71b40770 100644
--- a/community/mingw32-gcc/PKGBUILD
+++ b/community/mingw32-gcc/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD 45471 2011-04-22 05:36:00Z spupykin $
+# $Id: PKGBUILD 50734 2011-06-30 10:31:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Ondrej Jirman <megous@megous.com>
pkgname=mingw32-gcc
pkgver=4.5.2
-pkgrel=3
+pkgrel=4
arch=(i686 x86_64 mips64el)
pkgdesc="A C and C++ cross-compilers for building Windows executables on Linux"
-depends=(mingw32-runtime mingw32-binutils mingw32-w32api libmpc elfutils gmp)
-replaces=(mingw32-gcc-base)
-provides=(mingw32-gcc-base)
+depends=('mingw32-pthreads' 'mingw32-runtime' 'mingw32-binutils' 'mingw32-w32api'
+ 'libmpc' 'elfutils' 'gmp')
+replaces=('mingw32-gcc-base')
+provides=('mingw32-gcc-base')
options=(!strip)
url="http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GCC/Version4/"
license=(GPL LGPL)
@@ -35,12 +36,15 @@ build()
--host=$CHOST \
--build=$CHOST \
--prefix=/usr \
+ --libexecdir=/usr/lib \
+ --with-bugurl=https://bugs.parabolagnulinux.org/ \
--enable-languages=c,c++ \
--enable-shared \
--enable-sjlj-exceptions \
--enable-hash-synchronization \
--disable-nls \
- --disable-libssp
+ --disable-libssp \
+ --enable-libgomp
make
make install DESTDIR=$pkgdir
@@ -51,22 +55,6 @@ build()
msg "libstdc++"
make -j1 -C i486-mingw32/libstdc++-v3 DESTDIR=${pkgdir} install
-# msg "libgomp"
-# mkdir -p i486-mingw32/libgomp
-# cd i486-mingw32/libgomp
-# [ -f Makefile ] || $srcdir/gcc-$pkgver/configure \
-# --target=i486-mingw32 \
-# --host=$CHOST \
-# --build=$CHOST \
-# --prefix=/usr \
-# --enable-languages=c,c++ \
-# --enable-shared \
-# --enable-sjlj-exceptions \
-# --enable-hash-synchronization \
-# --disable-nls \
-# --disable-libssp
-# make -j1 DESTDIR=$pkgdir all install
-
msg "fixes"
mkdir -p $pkgdir/usr/i486-mingw32/bin/
mv $pkgdir/usr/bin/*.dll $pkgdir/usr/i486-mingw32/bin/
@@ -79,6 +67,6 @@ build()
usr/share/gcc-$pkgver/python
strip usr/bin/*
- strip usr/libexec/gcc/i486-mingw32/$pkgver/{cc1*,collect2}
+ strip usr/lib/gcc/i486-mingw32/$pkgver/{cc1*,collect2}
i486-mingw32-strip -g usr/lib/gcc/i486-mingw32/$pkgver/*.a
}