summaryrefslogtreecommitdiff
path: root/multimedia/x264-devel
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2010-08-11 19:11:55 +0000
committertsutsui <tsutsui@pkgsrc.org>2010-08-11 19:11:55 +0000
commit3c9b7d691a594a39cffbd65c1ed0303c771534cf (patch)
tree624b2e58982de365fcf4638a2b304816cee93c2d /multimedia/x264-devel
parent052af4f5cc2b0846316a6caf14fe94169e42ec87 (diff)
downloadpkgsrc-3c9b7d691a594a39cffbd65c1ed0303c771534cf.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/x264-devel')
-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