pkgsrc/audio/xmms/hacks.mk
2006-08-07 11:22:27 +00:00

10 lines
302 B
Makefile

# $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