summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sane-backends/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index ca33000de7f..8328930543f 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -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 @@ USE_PKGLOCALEDIR= YES
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")