diff options
Diffstat (limited to 'audio/bmp/hacks.mk')
-rw-r--r-- | audio/bmp/hacks.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/bmp/hacks.mk b/audio/bmp/hacks.mk new file mode 100644 index 00000000000..e5b9cce34ef --- /dev/null +++ b/audio/bmp/hacks.mk @@ -0,0 +1,10 @@ +# $NetBSD: hacks.mk,v 1.1 2006/08/07 11:21:45 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 |