blob: e5b9cce34eff182c5214b4a1020127d08c2a2146 (
plain)
1
2
3
4
5
6
7
8
9
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
|