[arch-commits] Commit in mingw-w64-gcc/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Feb 3 11:08:51 UTC 2014
Date: Monday, February 3, 2014 @ 12:08:51
Author: spupykin
Revision: 105244
upgpkg: mingw-w64-gcc 4.8.2-5
upd
Modified:
mingw-w64-gcc/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-03 10:40:39 UTC (rev 105243)
+++ PKGBUILD 2014-02-03 11:08:51 UTC (rev 105244)
@@ -6,7 +6,7 @@
pkgname=mingw-w64-gcc
pkgver=4.8.2
-pkgrel=4
+pkgrel=5
pkgdesc="Cross GCC for the MinGW-w64 cross-compiler"
arch=('i686' 'x86_64')
url="http://gcc.gnu.org"
@@ -46,7 +46,7 @@
for _target in ${_targets}; do
mkdir -p ${srcdir}/gcc-build-${_target} && cd ${srcdir}/gcc-build-${_target}
- ${srcdir}/gcc-${pkgver}/configure --prefix=/usr \
+ ${srcdir}/gcc-${pkgver}/configure --prefix=/usr --libexecdir=/usr/lib \
--target=${_target} \
--enable-languages=c,lto,c++,objc,obj-c++,fortran,ada \
--enable-shared --enable-static \
@@ -65,8 +65,11 @@
make DESTDIR=${pkgdir} install
${_target}-strip ${pkgdir}/usr/${_target}/lib/*.dll
strip ${pkgdir}/usr/bin/${_target}-*
- strip ${pkgdir}/usr/libexec/gcc/${_target}/${pkgver}/{cc1*,collect2,gnat1,f951,lto*}
+ strip ${pkgdir}/usr/lib/gcc/${_target}/${pkgver}/{cc1*,collect2,gnat1,f951,lto*}
ln -s ${_target}-gcc $pkgdir/usr/bin/${_target}-cc
+ # mv dlls
+ mkdir -p $pkgdir/usr/${_target}/bin/
+ mv $pkgdir/usr/${_target}/lib/*.dll $pkgdir/usr/${_target}/bin/
done
strip ${pkgdir}/usr/bin/*
# remove unnecessary files
More information about the arch-commits
mailing list