automake
[Top][All Lists]
Advanced

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

Re: A global _CFLAGS assigment?


From: Ralf Wildenhues
Subject: Re: A global _CFLAGS assigment?
Date: Sat, 7 Jun 2008 09:46:05 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* 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.

Cheers,
Ralf




reply via email to

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