Merge pull request #5 from davehome/master

mingw-w64-gcc: Remove fortran and lto support; revbump.
This commit is contained in:
Juan RP 2011-07-19 01:58:22 -07:00
commit 5f8e039c28

View file

@ -3,7 +3,7 @@
pkgname=mingw-w64-gcc pkgname=mingw-w64-gcc
_majorver=4.6 _majorver=4.6
version=${_majorver}.1 version=${_majorver}.1
revision=1 revision=2
distfiles=http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2 distfiles=http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2
build_style=custom-install build_style=custom-install
short_desc="The GNU C Compiler (for mingw-w64)" short_desc="The GNU C Compiler (for mingw-w64)"
@ -12,8 +12,7 @@ homepage="http://mingw-w64.sourceforge.net/"
license="GFDL-1.2, GPL-3, LGPL-2.1" license="GFDL-1.2, GPL-3, LGPL-2.1"
checksum=8eebf51c908151d1f1a3756c8899c5e71572e8469a547ad72a1ef16a08a31b59 checksum=8eebf51c908151d1f1a3756c8899c5e71572e8469a547ad72a1ef16a08a31b59
long_desc=" long_desc="
The GNU C Compiler suite, with support for C, C++, ObjC and ObjC++, The GNU C Compiler suite, with support for C, C++, ObjC and ObjC++.
and Fortran.
This is the mingw-64 cross-compiler, which supports building code for Win32 This is the mingw-64 cross-compiler, which supports building code for Win32
or Win64 (multilib). For the i686 platform, only 32bit is available." or Win64 (multilib). For the i686 platform, only 32bit is available."
@ -69,10 +68,10 @@ do_build()
--bindir=${_mingwprefix}/bin --target=${_mingwtriplet} \ --bindir=${_mingwprefix}/bin --target=${_mingwtriplet} \
${_multilib_args} --enable-threads=win32 --disable-win32-registry \ ${_multilib_args} --enable-threads=win32 --disable-win32-registry \
--enable-version-specific-runtime-libs --enable-__cxa_atexit \ --enable-version-specific-runtime-libs --enable-__cxa_atexit \
--enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-tls \ --enable-languages=c,c++,objc,obj-c++, --enable-tls \
--with-mpfr=$XBPS_MASTERDIR/usr --with-gmp=$XBPS_MASTERDIR/usr \ --with-mpfr=$XBPS_MASTERDIR/usr --with-gmp=$XBPS_MASTERDIR/usr \
--with-ppl=${XBPS_MASTERDIR}/usr --with-cloog=${XBPS_MASTERDIR}/usr \ --with-ppl=${XBPS_MASTERDIR}/usr --with-cloog=${XBPS_MASTERDIR}/usr \
--with-system-zlib --enable-static --disable-shared --enable-lto \ --with-system-zlib --enable-static --disable-shared --disable-lto \
--enable-linker-build-id --enable-gnu-unique-object \ --enable-linker-build-id --enable-gnu-unique-object \
--enable-checking=release --disable-nls --disable-bootstrap \ --enable-checking=release --disable-nls --disable-bootstrap \
--libdir=${_mingwprefix}/lib --libexecdir=${_mingwprefix}/lib --libdir=${_mingwprefix}/lib --libexecdir=${_mingwprefix}/lib