
29 Sep
2006
29 Sep
'06
4:53 p.m.
https://svn.lrde.epita.fr/svn/oln/trunk Index: ChangeLog from Roland Levillain <roland@lrde.epita.fr> Create a configure variable for C++ compiler flags used for the tests. * configure.ac (TESTS_CXXFLAGS): New variable. configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) Index: configure.ac --- configure.ac (revision 591) +++ configure.ac (working copy) @@ -32,6 +32,13 @@ CXXFLAGS="$CXXFLAGS -pipe" fi +# C++ compiler flags for tests. +AC_ARG_VAR([TESTS_CXXFLAGS]) +# We want no optimization for the tests (too slow), and a lot of debugging. +if test "$GXX" = yes && test -z "$TESTS_CXXFLAGS"; then + TESTS_CXXFLAGS="-O0 -ggdb -Wall -pipe" +fi + ## ------- ## ## Tests. ##