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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio