diff options
author | wiz <wiz> | 2006-08-07 11:22:27 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-08-07 11:22:27 +0000 |
commit | 3480fdbae68dce0413d622bd4d3350f597906102 (patch) | |
tree | 66d8efd048d6eadf7d60212a67183847fbcb3ae7 /audio | |
parent | 29ddee28a66dd624ea03b5fca681704d3e676765 (diff) | |
download | pkgsrc-3480fdbae68dce0413d622bd4d3350f597906102.tar.gz |
Add same hack as for audio/bmp to work around background
noise problem with gcc4.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms/hacks.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/xmms/hacks.mk b/audio/xmms/hacks.mk new file mode 100644 index 00000000000..7c75d1f1f87 --- /dev/null +++ b/audio/xmms/hacks.mk @@ -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 |