[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: per object cflags
From: |
Robert Collins |
Subject: |
RE: per object cflags |
Date: |
Mon, 6 May 2002 20:23:47 +1000 |
Done I think.. the GNATS web returned to the entry screen without giving
me a PR number, so I'm not sure..
Rob
> -----Original Message-----
> From: Tom Tromey [mailto:address@hidden
> Sent: Monday, May 06, 2002 3:38 PM
> To: Robert Collins
> Cc: address@hidden
> Subject: Re: per object cflags
>
>
> >>>>> "Rob" == Robert Collins <address@hidden> writes:
>
> Rob> Are there any plans to allow per object CFLAGS (and CXXFLAGS...)?
>
> You mean per-`.o'? There aren't any concrete plans. Offhand
> I can't think of any barrier to doing it though. In fact it
> might be easy. (Explaining it might be hard.)
>
> Could you submit a PR for this feature?
>
> Rob> Currently I compile those source files with manual rules, but...
> Rob> that means that the dependency tracking stuff doesn't work for
> Rob> them...
>
> Yeah, this is a problem. It would be nice if we had a
> relatively easy way to handle situations where you want the
> full rule with some minor tweak. Duplicating the code is
> pretty bad, since it is complicated and changes from time to time.
>
> Tom
>