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 22:03:03 +0800

On Sat, Jun 7, 2008 at 3:46 PM, Ralf Wildenhues <address@hidden> wrote:
> * Steven Woody wrote on Fri, Jun 06, 2008 at 08:34:05PM CEST:
>> Before received your post, I tried
>>   xxxx_CFLAGS = @AM_CFLAGS@ -additional-flags ...
>> but failed, but
>>   xxxx_CFLAGS = @CXXFLAGS@ -additional-flags ...
>
> (Is that mixup of C and C++-specific flag names a typo in your mail?)
>
>> will passed the make though this is not what I want.  I just wonder
>> why @CXXFLAGS@ is okay while @AM_CFLAGS@ not
>
> Both are ok, iff the corresponding variable is AC_SUBSTed from
> configure.ac.  CFLAGS and CXXFLAGS are AC_SUBSTed by default, with
> AM_CFLAGS and AM_CXXFLAGS you would have to do it manually.
>

Understood. Thank you!




reply via email to

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