Sorry if this is a question already answered, but I couldn't find this on
google, this list and the manual, searching for "LINK (without) ($CFLAGS)"
The fact is that after running autoconf and automake, the makefile tries to link
while also putting $CFLAGS on the command line. I checked that the (
Hello!
AC_SUBST(CFLAGS, "-g -O -Wall -ansi")
Sorry, I don't really know about your problem, but the FLAGS you want
to impose on your users are their choice, not yours.
Andre Caldas.
___
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org
[EMAIL PROTECTED] writes:
> Now, gcc handles compiler flags on the command line well when linking, but
> 'ld'
> on a Tru64 machine doesn't :-)
Automake generates these variable settings:
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
Thus there is nothing tha
Hello,
On Thu, Jul 21, 2005 at 07:29:51AM +, [EMAIL PROTECTED] wrote:
> I checked that the ($CFLAGS)
> directive was also present in Makefile.in, so I guess that rules out an
> automake issue then.
no, that was Automake who wrote Makefile.in. So yes, all issues we discuss in
this thread are
On Thu, 2005-07-21 at 07:29 +, [EMAIL PROTECTED]
wrote:
> So my question is, is there a simple way to only include ($CFLAGS) when
> compiling, and only ($LDFLAGS) when linking, NOT ($CFLAGS)?
Firstly, this is OT for this list. It's an automake question.
To answer your question: no.
Automake
So my question is, is there a simple way to only include ($CFLAGS) when
compiling, and only ($LDFLAGS) when linking, NOT ($CFLAGS)?
Firstly, this is OT for this list. It's an automake question.
To answer your question: no.
Automake rules assume you using the compiler to link and not to use ld
d