pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/bmp Move gcc4 hack into hacks.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c1b763c7f66
branches: trunk
changeset: 517264:9c1b763c7f66
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Aug 07 11:21:45 2006 +0000
description:
Move gcc4 hack into hacks.mk
diffstat:
audio/bmp/Makefile | 9 +--------
audio/bmp/hacks.mk | 10 ++++++++++
2 files changed, 11 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r 086cfbc8fd3c -r 9c1b763c7f66 audio/bmp/Makefile
--- a/audio/bmp/Makefile Mon Aug 07 06:45:30 2006 +0000
+++ b/audio/bmp/Makefile Mon Aug 07 11:21:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/07/31 21:43:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.19 2006/08/07 11:21:45 wiz Exp $
#
BMP_ENABLE_ENCODERS= yes
@@ -27,10 +27,3 @@
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.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
diff -r 086cfbc8fd3c -r 9c1b763c7f66 audio/bmp/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp/hacks.mk Mon Aug 07 11:21:45 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index