File:
[cvs.NetBSD.org] /
pkgsrc /
cross /
mingw-w64-x86_64-gcc-winpthreads /
Makefile.common
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Fri Oct 2 16:49:37 2020 UTC (4 years, 7 months ago) by
ryoon
Branches:
MAIN
CVS tags:
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
HEAD
mingw-w64-*: Update to mingw-w64 to 8.0.0
* Update GCC to 10.2.0.
* Update Binutils to 2.35.1
Changelog:
v8.0.0: 2020-09-18
Notable changes:
New Hyper-V headers and libraries by Biswapriyo Nath
Many headers updated from Wine by Jacek Caban.
ARM math improvements by Martin Storsjo
floating point fixes by Liu Hao
many *printf compatibility fixes by Liu Hao and Martin Storsjo
massive Windows App Store API updates by Steve Lhomme
winstorecompat library updates by Martin Storsjo
__USE_MINGW_ANSI_STDIO now automatically enabled in C99 and C11 mode when not using UCRT by Pali Rohar
wdm and ddk updates by Zebediah Figura
UCRT for Windows Store Apps (-lucrtapp) by Martin Storsjo
Audioclient and ActivateAudioInterfaceAsync API updates by Liu Hao
DirectX SDKs are now always installed
# $NetBSD: Makefile.common,v 1.3 2020/10/02 16:49:37 ryoon Exp $
#
# used by cross/mingw-w64-i686-gcc-winpthreads/Makefile
# used by cross/mingw-w64-x86_64-gcc-winpthreads/Makefile
DISTNAME= gcc-10.2.0
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mingw-w64.org/
PATCHDIR= ${.CURDIR}/../../cross/mingw-w64-x86_64-gcc/patches
DISTINFO_FILE= ${.CURDIR}/../../cross/mingw-w64-x86_64-gcc/distinfo
USE_LANGUAGES= c c++
USE_TOOLS+= gmake perl:build
GNU_CONFIGURE= yes
OBJDIR= ../build
CONFIGURE_DIRS= ${OBJDIR}
CONFIGURE_SCRIPT= ../${DISTNAME}/configure
GNU_CONFIGURE_PREFIX= ${PREFIX}/cross/${MINGW_TARGET}-winpthreads
CONFIGURE_ARGS+= --target=${MINGW_TARGET}
CONFIGURE_ARGS+= --with-sysroot=${PREFIX}/cross/${MINGW_TARGET}-winpthreads
CONFIGURE_ARGS+= --with-ld=${PREFIX}/cross/${MINGW_TARGET}/${MINGW_TARGET}/bin/ld
CONFIGURE_ARGS+= --with-as=${PREFIX}/cross/${MINGW_TARGET}/${MINGW_TARGET}/bin/as
CONFIGURE_ARGS+= --disable-nls
CONFIGURE_ARGS+= --enable-languages=c,lto,c++,objc,obj-c++,fortran
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-static
# Use winpthreads
CONFIGURE_ARGS+= --enable-threads=posix
CONFIGURE_ARGS+= --enable-lto
CONFIGURE_ARGS+= --enable-fully-dynamic-string
CONFIGURE_ARGS+= --enable-libstdcxx-time=yes
CONFIGURE_ARGS+= --disable-dw2-exceptions
CONFIGURE_ARGS+= --disable-multilib
PREPEND_PATH+= ${PREFIX}/cross/${MINGW_TARGET}/bin
PREPEND_PATH+= ${PREFIX}/cross/${MINGW_TARGET}-bootstrap/bin
INFO_FILES= yes
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
.include "../../cross/mingw-w64/Makefile.common"
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../math/mpcomplex/buildlink3.mk"
CVSweb <webmaster@jp.NetBSD.org>