discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] global CXXFLAGS?


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] global CXXFLAGS?
Date: Mon, 3 Mar 2008 15:30:54 -0800
User-agent: Mutt/1.5.17 (2007-11-01)

On Mon, Mar 03, 2008 at 03:12:45PM -0800, Dan Halperin wrote:
> Eric Blossom wrote:
> > On Mon, Mar 03, 2008 at 12:29:45PM -0800, Dan Halperin wrote:
> >> I've tried to change the global CXXFLAGS by modifying
> >> gnuradio/configure.ac, but the changes are not propagated to the rest of
> >> the tree even after a configure. I've had some success modifying all of
> >> the Makefile.am files in the directories of interest, but is there a
> >> better way?
> >>
> >> [The goal would be to force -O0 and -g1, for instance]
> > 
> > I think you should be able to set them using
> > 
> >   ./configure CXXFLAGS="-O0 -g1" ...
> 
> Indeed! Thanks.
> 
> As a practical matter, we also had to set CCFLAGS, CPPFLAGS, CCASFLAGS,
> and FFLAGS. For anyone else out there :).
> 
> [On a Mac running Leopard with GR 3.1.1].
> 
> -Dan

FWIW, CPPFLAGS shouldn't contain optimization flags, only stuff like -I<path> 
and -D<define>

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]