Re: Problem with implicit rule for .o files and overriding of CXXFLAGS.
- To: debian-mentors@lists.debian.org
- Subject: Re: Problem with implicit rule for .o files and overriding of CXXFLAGS.
- From: Charles Plessy <plessy@debian.org>
- Date: Mon, 7 Jul 2008 22:39:14 +0900
- Message-id: <[🔎] 20080707133914.GB31507@kunpuu.plessy.org>
- Mail-followup-to: debian-mentors@lists.debian.org
- In-reply-to: <87abgulv46.GNU's_Not_Unix!%yavor@gnu.org>
- References: <20080625042417.GC27677@dunkklar.org> <pan.2008.06.25.11.05.53@gnu.org> <e13a36b30806250055m34882aafmaad16231ade3cb55@mail.gmail.com> <bd3cb4550806242145i32154802h7df15686cea9321e@mail.gmail.com> <20080625141444.GA10872@dunkklar.org> <pan.2008.06.25.15.09.11@gnu.org> <20080626004832.GA23263@dunkklar.org> <pan.2008.06.27.10.01.00@gnu.org> <20080629110351.GC23720@dunkklar.org> <87abgulv46.GNU's_Not_Unix!%yavor@gnu.org>
Le Sun, Jul 06, 2008 at 09:34:33PM +0300, Yavor Doganov a écrit :
> Charles Plessy wrote:
> > how about :
> >
> > When a Debian binary package is built, environment variables such as
> > {{{CFLAGS}}} and {{{CXXFLAGS}}} are set by {{{dpkg-buildpackage}}}
> > and may override the corresponding variables in the
> > {{{Makefile}}}.
>
> The matter is more complex in general; add here the well known fact
> that a truckload of upstream makefiles/build systems is broken.
Well, this is why I tried to write something in the wiki page that is
supposed to be something to read for upstream maintainers. But I am not
a C programmer, I do not think I can improve what I wrote any further. I
can delete it if it is too confusing, however.
Thanks for the explanation anyway, this FLAGS management is a real
headache…
Have a nice day,
--
Charles Plessy
Debian-Med packaging team,
Tsurumi, Kanagawa, Japan
Reply to: