Date: Thu, 11 Apr 2002 13:57:40 -0700 From: "David O'Brien" <obrien@FreeBSD.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Peter Wemm <peter@wemm.org>, Marcel Moolenaar <marcel@xcllnt.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/gperf Makefile src/gnu/usr.bin/groff/src/devices/grodvi Makefile src/gnu/usr.bin/groff/src/devices/grohtml Makefile src/gnu/usr.bin/groff/src/devices/grolbp Makefile sr Message-ID: <20020411135740.A13856@dragon.nuxi.com> In-Reply-To: <20020411093353.GA42484@sunbay.com>; from ru@FreeBSD.org on Thu, Apr 11, 2002 at 12:33:53PM %2B0300 References: <20020410180443.D84993@dragon.nuxi.com> <20020411051528.8663638FD@overcee.wemm.org> <20020411093353.GA42484@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 11, 2002 at 12:33:53PM +0300, Ruslan Ermilov wrote: > +.if defined(PROG_CXX) > +PROG= ${PROG_CXX} > +DPADD+= ${LIBSTDCPLUSPLUS} > +LDADD+= -lstdc++ > +.endif We really should not be doing this part -- we do not do it for libc. Making too many assumptions about how G++ expects the linking to be is bad. Rather if PROG_GXX is set, 'g++' should be used for linking rather than 'gcc' [as Peter mentioned]. We really should just be letting g++ do its job. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020411135740.A13856>