Subject: Re: C++ program handling in bsd.prog.mk
To: Todd Vierling <tv@wasabisystems.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 01/04/2002 10:59:27
On Fri, Jan 04, 2002 at 01:56:27PM -0500, Todd Vierling wrote:
> No, I'm pointing out that when you *link* a program using "c++" (which
> should be done if the program is C++, but I can't remember now if your patch
> does this), you'll get -lstdc++ and -lm implicitly. So we should be
> consistent with that when using DESTDIR.
Did you actually look at the patch? C++ programs are linked with ${CXX},
and for DESTDIR builds, "-lstdc++ -lm" are added to the command.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>