[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool links with g++ even with only c file
From: |
Ralf Wildenhues |
Subject: |
Re: libtool links with g++ even with only c file |
Date: |
Sat, 18 Apr 2009 21:10:53 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Vincent Torri wrote on Sat, Apr 18, 2009 at 07:50:21PM CEST:
> According to the value in the Makefile, this:
>
> if EVIL_HAVE_WINCE
>
> libevil_la_LINK = $(LINK) $(libevil_la_CFLAGS) $(libevil_la_LDFLAGS)
>
> else
>
> libevil_la_CXXFLAGS = -fno-rtti -fno-exceptions
> libevil_la_LINK = $(CXXLINK) $(libevil_la_CXXFLAGS) $(libevil_la_LDFLAGS)
>
> endif
>
> is sufficient. The *_C(XX)FLAGS can even be removed. Technically, its
> value should not contain linker flags.
Well, it's Automake convention to include them into the link line,
though, so that you can add stuff like -pg or -pthreads there, for
example.
Cheers,
Ralf