summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortsutsui <tsutsui>2010-08-11 19:11:55 +0000
committertsutsui <tsutsui>2010-08-11 19:11:55 +0000
commit2289e395c0b529e3814dad92d47074f6306e52d7 (patch)
tree624b2e58982de365fcf4638a2b304816cee93c2d /multimedia
parentbf835cb65af3a6744c83c8495812299eebba5912 (diff)
downloadpkgsrc-2289e395c0b529e3814dad92d47074f6306e52d7.tar.gz
Fix build failure on NetBSD/arm as configure suggests:
>> You specified a pre-ARMv6 or Thumb-1 CPU in your CFLAGS. >> If you really want to run on such a CPU, configure with --disable-asm.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264-devel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index 7556988aad4..4df3b0b76cc 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2010/07/18 12:19:47 drochner Exp $
+# $NetBSD: Makefile,v 1.25 2010/08/11 19:11:55 tsutsui Exp $
SNAPSHOT_DATE= 20090920
@@ -30,6 +30,10 @@ BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
. endif
.elif ${MACHINE_ARCH} == "x86_64"
CONFIGURE_ARGS+= --disable-asm
+.elif ${MACHINE_ARCH} == "arm"
+. if ${OPSYS} == "NetBSD" # pre-ARMv6 is default on NetBSD/arm
+CONFIGURE_ARGS+= --disable-asm
+. endif
.endif
USE_TOOLS+= gmake bash