summaryrefslogtreecommitdiff
path: root/sysutils/cdrdao
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrdao')
-rw-r--r--sysutils/cdrdao/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/cdrdao/Makefile.common b/sysutils/cdrdao/Makefile.common
index 0c6f9ddd9c5..f73eec3b9c3 100644
--- a/sysutils/cdrdao/Makefile.common
+++ b/sysutils/cdrdao/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2011/04/14 21:47:24 hans Exp $
+# $NetBSD: Makefile.common,v 1.10 2012/03/22 11:28:38 hans Exp $
DISTNAME= cdrdao-${CDRDAO_VER}
CATEGORIES= sysutils
@@ -31,6 +31,10 @@ LDFLAGS.SunOS= -lvolmgt -lnsl
CONFIGURE_ARGS+=--with-scglib
.endif
+.if !empty(CC:M*gcc*)
+MAKE_ENV+= CCOM=gcc
+.endif
+
# override ARCH to avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""