[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cross / mingw-w64-x86_64-crt

File: [cvs.NetBSD.org] / pkgsrc / cross / mingw-w64-x86_64-crt / Makefile.common (download)

Revision 1.4, Sun Dec 29 01:08:14 2019 UTC (3 years, 1 month ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.3: +2 -2 lines

Update to mingw-w64 to 7.0.0 and binutils to 2.33.1

mingw-w64:
Notable changes:

    _FORTIFY_SOURCE support thanks to Christian Franke.
    Lots of math fixes from Martin Storsjö.
    Many headers updated from Wine by Jacek Caban.
    UCRT support by Martin Storsjö.

binutils:
No specific change for Windows/PECOFF.

# $NetBSD: Makefile.common,v 1.4 2019/12/29 01:08:14 ryoon Exp $
#
# used by cross/mingw-w64-i686-crt/Makefile
# used by cross/mingw-w64-x86_64-crt/Makefile

DISTNAME=		mingw-w64-v7.0.0
CATEGORIES=		cross
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=mingw-w64/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://mingw-w64.org/

PATCHDIR=		${.CURDIR}/../../cross/mingw-w64-x86_64-headers/patches
DISTINFO_FILE=		${.CURDIR}/../../cross/mingw-w64-x86_64-headers/distinfo

MAKE_JOBS_SAFE=		no

WRKSRC=			${WRKDIR}/${DISTNAME}/mingw-w64-crt

USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake perl:build

USE_GNU_CONFIGURE_HOST=	no

GNU_CONFIGURE=		yes
GNU_CONFIGURE_PREFIX=	${PREFIX}/cross/${MINGW_TARGET}/mingw
CONFIGURE_ARGS+=	--host=${MINGW_TARGET}
CONFIGURE_ARGS+=	--with-sysroot=${PREFIX}/cross/${MINGW_TARGET}
CONFIGURE_ARGS+=	--enable-wildcard
CONFIGURE_ENV+=		ac_cv_prog_CC=${MINGW_TARGET}-gcc

PREPEND_PATH+=		${PREFIX}/cross/${MINGW_TARGET}/bin
PREPEND_PATH+=		${PREFIX}/cross/${MINGW_TARGET}-bootstrap/bin

.include "../../cross/mingw-w64/Makefile.common"