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