pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libvisual Make this compile if -funroll-loops is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/976ebf918f63
branches:  trunk
changeset: 505293:976ebf918f63
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jan 02 12:51:22 2006 +0000

description:
Make this compile if -funroll-loops is set in the build flags.

diffstat:

 audio/libvisual/hacks.mk |  12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 721b93cc5ebc -r 976ebf918f63 audio/libvisual/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual/hacks.mk  Mon Jan 02 12:51:22 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index