This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Patch to include $(CFLAGS) into specflags
- To: Pavel Roskin <pavel_roskin@geocities.com>
- Subject: Re: Patch to include $(CFLAGS) into specflags
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 07 Jun 1999 01:43:09 -0300
- Cc: automake@gnu.org
- References: <Pine.LNX.4.10.9905241946320.18305-200000@intra.typhoon.spb.ru>
On May 24, 1999, Pavel Roskin <pavel_roskin@geocities.com> wrote:
> As I already wrote, the current implementation of per-executable flags
> doesn't include $(CFLAGS) in the command line.
AFAICT, this is intentional, so that you can actually *replace* a
generic CFLAGS with a program-specific one. If you want to *add*, you
have to use:
prog_CFLAGS = $(CFLAGS) -prog-specific-flags
> The attached patch simplifies the rules used for compilation of
> executable-specific objects.
Because we really want to remove CFLAGS, we can't use COMPILE and
LTCOMPILE. IMO, this is unfortunate, but I don't think we can get
around this :-(
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists