pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/sane-backends When building with gcc4, add "-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d6227839d00
branches: trunk
changeset: 515116:2d6227839d00
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jun 25 12:20:58 2006 +0000
description:
When building with gcc4, add "-fno-tree-ter" to CFLAGS.
Workaround for toolchain/33816, suggested by dogcow@.
diffstat:
graphics/sane-backends/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 03fcbfae7cd8 -r 2d6227839d00 graphics/sane-backends/Makefile
--- a/graphics/sane-backends/Makefile Sun Jun 25 12:05:00 2006 +0000
+++ b/graphics/sane-backends/Makefile Sun Jun 25 12:20:58 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/06/08 14:14:11 ben Exp $
+# $NetBSD: Makefile,v 1.31 2006/06/25 12:20:58 wiz Exp $
.include "Makefile.common"
COMMENT= API for access to scanners, digitals camera, frame grabbers etc.
@@ -13,6 +13,12 @@
CONFIGURE_ARGS+= --with-gphoto2=no
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/sane-${SANE_VERSION}
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-4*)
+CFLAGS+= -fno-tree-ter
+.endif
+
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS")
Home |
Main Index |
Thread Index |
Old Index