summaryrefslogtreecommitdiff
path: root/audio/libvisual
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-01-02 12:51:22 +0000
committerjmmv <jmmv@pkgsrc.org>2006-01-02 12:51:22 +0000
commitae8cafb547f82b8d74b216bb0b26b22a6b7ebab0 (patch)
tree40675f88f2de3266a4c2e48172fb9807f383774e /audio/libvisual
parent1a132ae5d639f11681464357b8d319b04c5e7911 (diff)
downloadpkgsrc-ae8cafb547f82b8d74b216bb0b26b22a6b7ebab0.tar.gz
Make this compile if -funroll-loops is set in the build flags.
Diffstat (limited to 'audio/libvisual')
-rw-r--r--audio/libvisual/hacks.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/libvisual/hacks.mk b/audio/libvisual/hacks.mk
new file mode 100644
index 00000000000..c11c1b19443
--- /dev/null
+++ b/audio/libvisual/hacks.mk
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1 2006/01/02 12:51:22 jmmv Exp $
+
+.if !defined(LIBVISUAL_HACKS_MK)
+LIBVISUAL_HACKS_MK= # defined
+
+# [ Mon Jan 2 13:49:14 CET 2006 : jmmv ]
+# -funroll-loops breaks the inlined MMX code in libvisual/lv_video_mmx.c.
+# It adds an immediate value to a movd instruction that does not let it
+# compile.
+BUILDLINK_TRANSFORM+= rm:-funroll-loops
+
+.endif