This is the mail archive of the
automake-prs@sources.redhat.com
mailing list for the automake project.
Re: automake/315: per program CFLAGS broken
- From: adl at sources dot redhat dot com
- To: automake-prs at sources dot redhat dot com, gjc at inescporto dot pt, richard at tartarus dot org, tromey at redhat dot com
- Date: 22 Apr 2002 16:45:32 -0000
- Subject: Re: automake/315: per program CFLAGS broken
- Reply-to: adl at sources dot redhat dot com, automake-prs at sources dot redhat dot com, gjc at inescporto dot pt, richard at tartarus dot org, tromey at redhat dot com, automake-gnats at sources dot redhat dot com
Synopsis: per program CFLAGS broken
State-Changed-From-To: open->analyzed
State-Changed-By: adl
State-Changed-When: Mon Apr 22 09:45:32 2002
State-Changed-Why:
This is the bug tested by tests/specflags8.test in 1.6.1 (an XFAIL) test.
Basically &subobjname needs to know whether the target for which it
generates an object variable for will use per-target CFLAGS, however
this information is not readily available. (It might be easier to
change &subobjname to always increase $num; although it looks like
something Richard wanted to avoid.)
Gustavo, one ugly workaround is to not use the same variable (here $(qosm_SRCS))
in your two _SOURCES variables.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=automake&pr=315