Global CXXFLAGS?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry for the dumb question :).

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]

Thanks!

Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzF+5y9GYuuMoUJ4RAsbJAKCer+1j/YUWPrCM1TsDlePEkl3WNACcCegv
MXEIxQ4pJIvpCvX/+Ul4PpY=
=1/xh
-----END PGP SIGNATURE-----

On Mon, Mar 03, 2008 at 12:29:45PM -0800, Dan H. wrote:

Thanks!

Dan

I think you should be able to set them using

./configure CXXFLAGS="-O0 -g1" …

Eric

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric B. wrote:

./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
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHzIXty9GYuuMoUJ4RAnQXAJwMZbK4c5NDmn5CFhSLlljkv9LMlACeOfPx
vAf4Ud7qXO6gCNgh8MDnAYc=
=kOIW
-----END PGP SIGNATURE-----

On Mon, Mar 03, 2008 at 03:12:45PM -0800, Dan H. wrote:

I think you should be able to set them using
-Dan
FWIW, CPPFLAGS shouldn’t contain optimization flags, only stuff like
-I and -D

Eric