diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/x264-devel/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile index 1216acd956a..40ab48ea6fb 100644 --- a/multimedia/x264-devel/Makefile +++ b/multimedia/x264-devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2013/07/06 21:57:45 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2013/07/07 03:51:04 obache Exp $ SNAPSHOT_DATE= 20130703 @@ -28,6 +28,11 @@ CFLAGS+= -DHAVE_STDLIB_H (!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \ ${OPSYS} == "Darwin" CONFIGURE_ARGS+= --disable-asm +# depends on builtin functions enabled with i486 and later with GCC. +. if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:Mi386) +GNU_ARCH.i386= i486 +CFLAGS+= -march=i486 +. endif . else BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm . endif |