automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A global _CFLAGS assigment?


From: Steven Woody
Subject: Re: A global _CFLAGS assigment?
Date: Sat, 7 Jun 2008 02:34:05 +0800

On Sat, Jun 7, 2008 at 1:23 AM, Ralf Wildenhues <address@hidden> wrote:
> * Steven Woody wrote on Fri, Jun 06, 2008 at 06:44:46PM CEST:
>> On Sat, Jun 7, 2008 at 12:22 AM, Ralf Wildenhues <address@hidden> wrote:
>> >
>> > (you can also AC_SUBST([AM_CFLAGS], [...]) from within configure.ac)
>
>> The big problem may be, the AM_CFLAGS will disappear if in a
>> Makefile.am, there is a xxxx_CFLAGS.
>
> xxxx_CFLAGS = $(AM_CFLAGS) -additional-flags ...
>

Cool!  It works, Thank you!

Before received your post, I tried
  xxxx_CFLAGS = @AM_CFLAGS@ -additional-flags ...
but failed, but
  xxxx_CFLAGS = @CXXFLAGS@ -additional-flags ...
will passed the make though this is not what I want.  I just wonder
why @CXXFLAGS@ is okay while @AM_CFLAGS@ not




reply via email to

[Prev in Thread] Current Thread [Next in Thread]