![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / cross / mingw-w64-x86_64-winpthreads / Makefile.common (download)
Revision 1.7, Sun Oct 9 02:37:04 2022 UTC (5 months, 3 weeks ago) by ryoon
mingw-w64*: Update to 10.0.0 * Update GCC and binutils to the latest too. Changelog: v10.0.0: 2022-04-04 Notable changes: * New msvcrt10, 20, 40, 70 and 71 import libraries. * Drop x86_64 64bit crtdll.dll * Updated wine imports * Fix intrin.h compatibility with GCC-11 * _(v)scprintf optimization * optimize __ms_vsnprintf for LTO |
# $NetBSD: Makefile.common,v 1.7 2022/10/09 02:37:04 ryoon Exp $ # # used by cross/mingw-w64-i686-winpthreads/Makefile # used by cross/mingw-w64-x86_64-winpthreads/Makefile DISTNAME= mingw-w64-v10.0.0 CATEGORIES= cross MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mingw-w64/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://mingw-w64.org/ PATCHDIR= ${.CURDIR}/../../cross/mingw-w64-x86_64-headers/patches DISTINFO_FILE= ${.CURDIR}/../../cross/mingw-w64-x86_64-headers/distinfo WRKSRC= ${WRKDIR}/${DISTNAME}/mingw-w64-libraries/winpthreads RELRO_SUPPORTED= no USE_LANGUAGES= c c++ USE_TOOLS+= gmake pax perl:build USE_GNU_CONFIGURE_HOST= no GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${PREFIX}/cross/${MINGW_TARGET}-winpthreads/mingw CONFIGURE_ARGS+= --host=${MINGW_TARGET} CONFIGURE_ARGS+= --with-sysroot=${PREFIX}/cross/${MINGW_TARGET} CONFIGURE_ENV+= ac_cv_prog_CC=${MINGW_TARGET}-gcc PREPEND_PATH+= ${PREFIX}/cross/${MINGW_TARGET}/bin PREPEND_PATH+= ${PREFIX}/cross/${MINGW_TARGET}-bootstrap/bin pre-install: ${MKDIR} ${DESTDIR}/${GNU_CONFIGURE_PREFIX} cd ${PREFIX}/cross/${MINGW_TARGET}/mingw && \ ${FIND} include lib -type f \! -name '*.orig' -print | \ pax -rw -pmp ${DESTDIR}${GNU_CONFIGURE_PREFIX} .include "../../cross/mingw-w64/Makefile.common"