From 026722426c9cde33039855ec5e39d591c4fecfea Mon Sep 17 00:00:00 2001 From: hans Date: Thu, 22 Mar 2012 11:28:38 +0000 Subject: Let the schily makefiles know when we're using gcc. --- sysutils/cdrdao/Makefile.common | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysutils') 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="" -- cgit v1.2.3