summaryrefslogtreecommitdiff
path: root/audio/libvisual
diff options
context:
space:
mode:
authorjmmv <jmmv>2006-01-02 12:51:22 +0000
committerjmmv <jmmv>2006-01-02 12:51:22 +0000
commit46fb98164f406b06b748adc38709ed7f0355c333 (patch)
tree40675f88f2de3266a4c2e48172fb9807f383774e /audio/libvisual
parentf81d1cf1cb5292cc97bd082666ccdd08a66abe92 (diff)
downloadpkgsrc-46fb98164f406b06b748adc38709ed7f0355c333.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