diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-08-28 11:13:32 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-08-28 11:13:32 +0200 |
commit | 0cc6a0720f9505aaacfc247fa646d3e888f8e4aa (patch) | |
tree | 65312a00db8134471b6b4d8f32c36cf479effdbe /community-staging/mingw32-gcc | |
parent | 0c5c6934b681707ec1a459da4318aabd7f9b796f (diff) | |
parent | 559da5e6e5aff9ccc57e29b6a91c35a528424b6c (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/widelands/PKGBUILD
community/bird/PKGBUILD
community/hwinfo/PKGBUILD
community/pdnsd/PKGBUILD
community/spectrwm/PKGBUILD
community/xmlrpc-c/PKGBUILD
core/wireless_tools/PKGBUILD
extra/proftpd/PKGBUILD
libre/grub/PKGBUILD
multilib-testing/lib32-libdrm/PKGBUILD
multilib-testing/lib32-libdrm/no-pthread-stubs.patch
multilib/lib32-gdk-pixbuf2/PKGBUILD
testing/pkg-config/PKGBUILD
testing/systemd/PKGBUILD
testing/systemd/systemd.install
Diffstat (limited to 'community-staging/mingw32-gcc')
-rw-r--r-- | community-staging/mingw32-gcc/PKGBUILD | 78 | ||||
-rw-r--r-- | community-staging/mingw32-gcc/gcc-1-mingw-float.patch | 18 |
2 files changed, 0 insertions, 96 deletions
diff --git a/community-staging/mingw32-gcc/PKGBUILD b/community-staging/mingw32-gcc/PKGBUILD deleted file mode 100644 index 1c71d9cc6..000000000 --- a/community-staging/mingw32-gcc/PKGBUILD +++ /dev/null @@ -1,78 +0,0 @@ -# $Id: PKGBUILD 75073 2012-08-13 13:31:36Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Maintainer: Ondrej Jirman <megous@megous.com> - -pkgname=mingw32-gcc -pkgver=4.7.0 -pkgrel=2 -_uprel=1 -arch=(i686 x86_64) -pkgdesc="A C and C++ cross-compilers for building Windows executables on Linux" -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/Base/gcc/Version4/" -license=(GPL LGPL) -source=(gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma::http://downloads.sourceforge.net/project/mingw/MinGW/Base/gcc/Version4/gcc-$pkgver-${_uprel}/gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma - gcc-1-mingw-float.patch) -md5sums=('9a4ecdacdc6dc83a4a43ef0693e2295d' - '2407123c35c0aa92ee5ffc27decca9a7') - -build() -{ - [ $NOEXTRACT -eq 1 ] || tar xjf gcc-$pkgver-${_uprel}-mingw32-src/gcc-$pkgver.tar.bz2 - - patch -d $srcdir/gcc-$pkgver -Np1 < $srcdir/gcc-1-mingw-float.patch - - mkdir -p $srcdir/build - cd $srcdir/build - - unset CFLAGS CXXFLAGS - - chmod ugo+x $srcdir/gcc-$pkgver/configure - chmod ugo+x $srcdir/gcc-$pkgver/move-if-change - - msg "gcc" - [ -f Makefile ] || $srcdir/gcc-$pkgver/configure \ - --target=i486-mingw32 \ - --host=$CHOST \ - --build=$CHOST \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --with-bugurl=https://bugs.archlinux.org/ \ - --enable-languages=c,c++ \ - --enable-shared \ - --enable-sjlj-exceptions \ - --enable-hash-synchronization \ - --disable-nls \ - --disable-libssp \ - --enable-libgomp - - make - make install DESTDIR=$pkgdir - - msg "libgcc" - make -j1 -C i486-mingw32/libgcc DESTDIR=${pkgdir} libgcc_eh.a install - - msg "libstdc++" - make -j1 -C i486-mingw32/libstdc++-v3 DESTDIR=${pkgdir} install - - msg "fixes" - cd $pkgdir/usr/i486-mingw32/lib - mkdir -p $pkgdir/usr/i486-mingw32/bin/ - for i in `ls -1 *.dll`; do - ln -s ../lib/$i $pkgdir/usr/i486-mingw32/bin/$i - done - - cd $pkgdir - rm -rf usr/bin/i486-mingw32-{gcov,gccbug,gcc-*} \ - usr/{include,lib/libiberty.a} \ - usr/share/{info,man} \ - usr/share/gcc-$pkgver/python - - strip usr/bin/* - strip usr/lib/gcc/i486-mingw32/$pkgver/{cc1*,collect2} - i486-mingw32-strip -g usr/lib/gcc/i486-mingw32/$pkgver/*.a -} diff --git a/community-staging/mingw32-gcc/gcc-1-mingw-float.patch b/community-staging/mingw32-gcc/gcc-1-mingw-float.patch deleted file mode 100644 index 365949ad7..000000000 --- a/community-staging/mingw32-gcc/gcc-1-mingw-float.patch +++ /dev/null @@ -1,18 +0,0 @@ -This file is part of mingw-cross-env. -See doc/index.html for further information. - -This patch has been taken from: -http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html -http://sourceforge.net/tracker/?func=detail&atid=302435&aid=3011968&group_id=2435 - -diff -urN a/gcc/ginclude/float.h b/gcc/ginclude/float.h ---- a/gcc/ginclude/float.h 2009-04-09 17:00:19.000000000 +0200 -+++ b/gcc/ginclude/float.h 2010-06-05 12:03:41.887724045 +0200 -@@ -275,3 +275,7 @@ - #endif /* __STDC_WANT_DEC_FP__ */ - - #endif /* _FLOAT_H___ */ -+ -+#ifdef __MINGW32__ -+#include_next<float.h> -+#endif |