diff options
author | kefren <kefren> | 2015-05-22 10:21:03 +0000 |
---|---|---|
committer | kefren <kefren> | 2015-05-22 10:21:03 +0000 |
commit | 6cf129ead76c8f4509b24ec508d1816a96f5d261 (patch) | |
tree | aa7b249f9f40d654425a42ec39ee438aac9122ec /lang | |
parent | fbe8c49e961aa28de2393b1c664b49884c6921b8 (diff) | |
download | pkgsrc-6cf129ead76c8f4509b24ec508d1816a96f5d261.tar.gz |
Require -march=i586 on i386 for gcc atomic builtins. Fixes build on i386
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mono/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 2d5f270aa79..03f14e359a8 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.156 2015/05/21 20:03:23 kefren Exp $ +# $NetBSD: Makefile,v 1.157 2015/05/22 10:21:03 kefren Exp $ DISTNAME= mono-4.0.1 CATEGORIES= lang @@ -155,6 +155,12 @@ CONFIGURE_ARGS+= --disable-parallel-mark PLIST.monodoc= yes .endif +.if ${MACHINE_ARCH:M*i[34]86*} +# for gcc byte atomic builtins +GNU_ARCH.i386= i586 +CFLAGS+= -march=i586 +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/data/net_4_5/DefaultWsdlHelpGenerator.aspx \ ${DESTDIR}${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx |