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

List:       kde-devel
Subject:    Re: How do I add compile flags in Makefile.am?
From:       aleXXX <alexander.neundorf () rz ! tu-ilmenau ! de>
Date:       2001-06-27 11:35:39
[Download RAW message or body]

On Wednesday 27 June 2001 12:20, Christopher Willmot wrote:
> I want to add '-g3' to the gcc flags to enable debug symbols for gdb.
> The best I have come up with is:
>
> CXXFLAGS=-g3 -Wall
>
> But this can't be right as it overrules what was previously set.  How can I
> *add* a flag?

in Makefile.am: AM_CXXFLAGS +=-g3 -Wall

but beware, these flags will be prepended to the other flags :-(

Bye
Alex
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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