unbreak mpv on i386

tested by kili@, ok sthen@
This commit is contained in:
czarkoff 2016-02-07 21:30:00 +00:00
parent 8081364160
commit d42f69d440

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2016/02/04 09:23:20 czarkoff Exp $
# $OpenBSD: Makefile,v 1.24 2016/02/07 21:30:00 czarkoff Exp $
# archs with atomic ops
ONLY_FOR_ARCHS = alpha amd64 i386 mips64 mips64el powerpc sparc64
@ -101,6 +101,10 @@ MAKE_FLAGS = -o "${WRKBUILD}" -t "${WRKSRC}" --destdir="${DESTDIR}"
USE_GROFF = Yes
NO_TEST = Yes
.if ${MACHINE_ARCH} == "i386"
CFLAGS += -march=i586
.endif
do-configure:
cp ${DISTDIR}/${WAF:T} ${WAF}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MODPY_BIN} ${WAF} \