On Tue, Jul 25, 2017 at 2:53 PM, Joerg Sonnenberger <jo...@bec.de> wrote:

> On Sun, Jul 23, 2017 at 07:06:25PM -0400, Nico Weber via cfe-commits wrote:
> > If you need this behavior for something, that sounds like something a
> > -nodefaultlibs++ could do. -nostdlib++ is really meant to disable the c++
> > stdlib and nothing else.
>
> But the -lm is only there because -lc++ alone (or -lstdc++ for that
> matter) wouldn't really work.
>

Do you have a reference for that? Several toolchains link in -lm in C mode
even.


>
> Joerg
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to