George Danchev wrote:
> On Monday 07 July 2008 16:39:14 Charles Plessy wrote:
>> Le Sun, Jul 06, 2008 at 09:34:33PM +0300, Yavor Doganov a écrit :
>> > Charles Plessy wrote:
>
> Hello,
>
>> > > When a Debian binary package is built, environment variables such as
>> > > {{{CFLAGS}}} and {{{CXXFLA
On Monday 07 July 2008 16:39:14 Charles Plessy wrote:
> Le Sun, Jul 06, 2008 at 09:34:33PM +0300, Yavor Doganov a écrit :
> > Charles Plessy wrote:
Hello,
> > > When a Debian binary package is built, environment variables such as
> > > {{{CFLAGS}}} and {{{CXXFLAGS}}} are set by {{{dpkg-buildpacka
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 varia
At Sun, 29 Jun 2008 20:03:51 +0900,
Charles Plessy wrote:
>
> > I don't know; this text still makes me feel uneasy.
>
> 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
Le Fri, Jun 27, 2008 at 10:01:18AM +, Yavor Doganov a écrit :
> ?? Thu, 26 Jun 2008 09:48:32 +0900, Charles Plessy :
>
> > Would the following be better?
> >
> > When a Debian binary package is built, variables such as {{{CFLAGS}}},
> > {{{CXXFLAGS}}}, {{{CPPFLAGS}}},... are
Am Freitag, den 27.06.2008, 10:16 + schrieb Yavor Doganov:
> В Thu, 26 Jun 2008 23:14:55 +0200, Daniel Leidert написа:
>
> > or tell him to better use one of the following:
> >
> > DEFS += -DVERSION="\"1.00\""
>
> This won't work. The objects are built by make's built-in implicit
> rules,
В Thu, 26 Jun 2008 23:14:55 +0200, Daniel Leidert написа:
> or tell him to better use one of the following:
>
> DEFS += -DVERSION="\"1.00\""
This won't work. The objects are built by make's built-in implicit
rules, and this variable is not used there:
COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAG
В Thu, 26 Jun 2008 09:48:32 +0900, Charles Plessy написа:
> 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}}}.
I d
Sorry for the CC. I was away and missed the discussion :)
Am Mittwoch, den 25.06.2008, 13:24 +0900 schrieb Charles Plessy:
> while working on an update to the `proda' package, I realised that a
> compilation option, DVERSION="\"1.00\"", was discarded during the build
> of the Debian binary packag
Am Donnerstag, den 26.06.2008, 09:18 +1000 schrieb Trent W. Buck:
> Charles Plessy <[EMAIL PROTECTED]> writes:
>
> > while working on an update to the `proda' package, I realised that a
> > compilation option, DVERSION="\"1.00\"", was discarded during the build
> > of the Debian binary package. Th
Le Wed, Jun 25, 2008 at 03:09:28PM +, 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 overr
Charles Plessy <[EMAIL PROTECTED]> writes:
> while working on an update to the `proda' package, I realised that a
> compilation option, DVERSION="\"1.00\"", was discarded during the build
> of the Debian binary package. The reason is very simple:
>
> OTHERFLAGS = -DVERSION="\"1.00\""
> CXXFLAGS =
On Wednesday 25 June 2008, Yavor Doganov wrote:
> Георги Данчев wrote:
> > This is true, unless the `override' directive is used in the
> > makefile to override variables set with a command line argument.
>
> Sure, make gives you plenty of rope to hang yourself, to abuse the
> users of your program
Георги Данчев wrote:
>
> This is true, unless the `override' directive is used in the
> makefile to override variables set with a command line argument.
Sure, make gives you plenty of rope to hang yourself, to abuse the
users of your program, or to come up with something absolutely
adorable. I d
On Wednesday 25 June 2008, Yavor Doganov wrote:
--cut--
Hi,
> If you define
>
> CFLAGS = ...
>
> in debian/rules, this is a make variable, not an environment variable,
> and it won't propagate to sub-make.
>
> However, if you do
>
> $(MAKE) CFLAGS="$(CFLAGS)"
>
> that value will be used for the b
В 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 f
Le Wed, Jun 25, 2008 at 11:06:09AM +, Yavor Doganov a écrit :
>
> > OTHERFLAGS = -DVERSION="\"1.00\""
> > CXXFLAGS = -g -W -Wall -pedantic $(OTHERFLAGS)
>
> Use CPPFLAGS for this -- of course the recipes should be properly written
> in order to have some effect.
> > authoritative documen
В Wed, 25 Jun 2008 13:24:17 +0900, Charles Plessy написа:
[ I had not looked at the `proda' package, sorry. ]
> OTHERFLAGS = -DVERSION="\"1.00\""
> CXXFLAGS = -g -W -Wall -pedantic $(OTHERFLAGS)
Use CPPFLAGS for this -- of course the recipes should be properly written
in order to have some eff
A good way to fix this would be to switch to automake, there *FLAGS
are only touched by people building the source, any special flags
needed (such as -D) are added to AM_*FLAGS or foo_*flags.
--
bye,
pabs
http://wiki.debian.org/PaulWise
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a sub
>
> First of all, I would appreciate if somebody could give me a link to an
> authoritative documentation that explains that CXXFLAGS (and others)
> should be expected to be changed to local values by the user. It seems
> to me that many upstream authors ignore this fact and write makefiles
> that
Dear mentors,
while working on an update to the `proda' package, I realised that a
compilation option, DVERSION="\"1.00\"", was discarded during the build
of the Debian binary package. The reason is very simple:
OTHERFLAGS = -DVERSION="\"1.00\""
CXXFLAGS = -g -W -Wall -pedantic $(OTHERFLAGS)
pro
21 matches
Mail list logo