fix i386 build by using -march=i586 and also commit a missing diff

to fix packaging
This commit is contained in:
robert 2014-07-12 16:24:20 +00:00
parent d3f6bf6b00
commit 5eb3d199a1
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.81 2014/07/09 11:39:16 robert Exp $
# $OpenBSD: Makefile,v 1.82 2014/07/12 16:24:20 robert Exp $
COMMENT= cross platform, open source .NET developement framework
@ -50,6 +50,11 @@ CONFIGURE_STYLE=autoconf
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include" \
ac_cv_header_execinfo_h=no
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ENV+= CFLAGS="-march=i586"
.endif
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-gc=included \
--with-sgen=no \

View File

@ -0,0 +1,8 @@
$OpenBSD: patch-mcs_tools_xbuild_targets_Microsoft_Portable_Common_targets,v 1.1 2014/07/12 16:24:20 robert Exp $
--- mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets.orig Sat Jul 12 18:09:42 2014
+++ mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets Sat Jul 12 18:09:44 2014
@@ -0,0 +1,4 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\Microsoft.Portable.Core.props" />
+ <Import Project="..\Microsoft.Portable.Core.targets" />
+</Project>