[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDebug && eventFilter
From:       Rik Hemsley <rik () alpha ! tat ! physik ! uni-tuebingen ! de>
Date:       1999-05-05 17:33:27
[Download RAW message or body]


On 05-May-99 Stephan Kulow wrote:
> Rik Hemsley wrote:
>> 
>> On 04-May-99 Matt Koss wrote:
>> > How do I compile app with NDEBUG ?
>> 
>> CXXFLAGS+=" -DNDEBUG" ; ./configure
>> 
>> You get the idea
> Nonono
> 
> As soon as you add a ; the command is finished
> and the CXXFLAGS is vanished
> you have 
> CXXFLAGS="-DNDEBUG -O2" ./configure
> without ;

It was supposed to say 'add -DNDEBUG to your CFLAGS and CXXFLAGS, make
clean, remove config.cache, reconfigure, remake' but I was being lazy.

Anyhow, VAR+="thing" doesn't work in bash, but the semicolon is ok if CXXFLAGS
is already exported.

~ > echo $CXXFLAGS
-Os -fno-rtti -fno-exceptions -mpentiumpro

~ > CXXFLAGS=$CXXFLAGS" -DDEBUG" ; echo $CXXFLAGS
-Os -fno-rtti -fno-exceptions -mpentiumpro -DDEBUG

See ? ;)

Cheers,
Rik


--
http://without.netpedia.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic