diff options
author | wiz <wiz> | 2006-08-07 11:22:27 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-08-07 11:22:27 +0000 |
commit | 7e287f646d3ad69e4453de48b361d81abca93cea (patch) | |
tree | 66d8efd048d6eadf7d60212a67183847fbcb3ae7 /audio/xmms | |
parent | 2c180f207bb2c0cdbd1482192f4e272f21f73fbc (diff) | |
download | pkgsrc-7e287f646d3ad69e4453de48b361d81abca93cea.tar.gz |
Add same hack as for audio/bmp to work around background
noise problem with gcc4.
Diffstat (limited to 'audio/xmms')
-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 |