pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/xmms Add same hack as for audio/bmp to work arou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3630ffd86aa
branches:  trunk
changeset: 517265:e3630ffd86aa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 07 11:22:27 2006 +0000

description:
Add same hack as for audio/bmp to work around background
noise problem with gcc4.

diffstat:

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

diffs (14 lines):

diff -r 9c1b763c7f66 -r e3630ffd86aa audio/xmms/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms/hacks.mk       Mon Aug 07 11:22:27 2006 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2006/08/07 11:22:27 wiz Exp $
+
+.include "../../mk/compiler.mk"
+
+# gcc 4.x generates code that produces background noise during playback.
+# Disabling optimizations when using this compiler solves the problem.
+.if !empty(CC_VERSION:Mgcc-4*)
+CFLAGS+=               -O0
+CXXFLAGS+=             -O0
+.endif



Home | Main Index | Thread Index | Old Index