From owner-cvs-all Mon Apr 8 9:44:54 2002 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 0F1DE37B400; Mon, 8 Apr 2002 09:44:50 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id CD0FCAE1D1; Mon, 8 Apr 2002 09:44:49 -0700 (PDT) Date: Mon, 8 Apr 2002 09:44:49 -0700 From: Alfred Perlstein To: Ruslan Ermilov Cc: Peter Wemm , Gerald Pfeifer , "M. Warner Losh" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: (using g++ for linkage) Re: cvs commit: src/gnu/usr.bin/gperf Message-ID: <20020408164449.GD93885@elvis.mu.org> References: <20020408063937.EAE793810@overcee.wemm.org> <20020408083637.GB53790@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020408083637.GB53790@sunbay.com> User-Agent: Mutt/1.3.27i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Ruslan Ermilov [020408 01:39] wrote: > > > OK, how about backing these out and committing this instead? > > %%% > Index: bsd.prog.mk > +.if ${SRCS:M*.cc} != "" || ${SRCS:M*.C} != "" || ${SRCS:M*.cpp} != "" || \ > + ${SRCS:M*.cxx} != "" > + ${CXX} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDDESTDIR} ${LDADD} > +.else > ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDDESTDIR} ${LDADD} > +.endif > > .else !defined(SRCS) > > %%% I was about to propose something like this, nice work. :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message