gnome/builder needs 64-bit atomic ops, build with -march=i586 on i386 so it

can use them
This commit is contained in:
sthen 2015-05-20 13:35:30 +00:00
parent 181441bc99
commit 2e2792e034

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2015/05/18 21:07:24 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.9 2015/05/20 13:35:30 sthen Exp $
SHARED_ONLY= Yes
@ -55,4 +55,10 @@ LIB_DEPENDS= devel/libgit2/libgit2-glib \
CONFIGURE_ENV= ac_cv_path_PYTHON3_CONFIG=python${MODPY_VERSION}-config
.include <bsd.port.arch.mk>
.if ${ARCH:Mi386} # needs 64-bit atomic ops
CFLAGS+= -march=i586
CXXFLAGS+= -march=i586
.endif
.include <bsd.port.mk>