Re: Problem with implicit rule for .o files and overriding of CXXFLAGS.
Le Wed, Jun 25, 2008 at 03:09:28PM +0000, Yavor Doganov a écrit :
> ?? Wed, 25 Jun 2008 23:14:44 +0900, Charles Plessy ????????????:
>
> > When a Debian binary package is
> > built, variables such as {{{CFLAGS}}}, {{{CXXFLAGS}}},
> > {{{CPPFLAGS}}},... are set in the environnement and override the ones
> > in the {{{Makefile}}}.
>
> That's not entirely true and not entirely false. It's closer to being
> false, though. Environment variables do not override the ones explicitly
> set in the makefile (or on the command line), unless you do `make -e'.
Thanks for the clarification. Would the following be better?
When a Debian binary package is built, variables such as {{{CFLAGS}}},
{{{CXXFLAGS}}}, {{{CPPFLAGS}}},... are set by the Debian building system
to override the ones in the {{{Makefile}}}.
> So If i were you I that patch would be only:
>
> - OTHERFLAGS = -DVERSION="\"1.00\""
> + CPPFLAGS = -DVERSION="\"1.00\""
Adopted!
Have a nice day,
--
Charles
Reply to: