diff options
author | obache <obache> | 2013-07-07 03:51:04 +0000 |
---|---|---|
committer | obache <obache> | 2013-07-07 03:51:04 +0000 |
commit | 877f386976169fcb011e99a63634b8634851dc17 (patch) | |
tree | cc90c57cc0fc6caf41f54a5ef913554c37f94612 /multimedia | |
parent | 89cf4c9b66e2fa532251b0974a526c3d3b7a8273 (diff) | |
download | pkgsrc-877f386976169fcb011e99a63634b8634851dc17.tar.gz |
FIxes build on NetBSD-5.x-i386, i486 features are required.
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 |