Commit f6376a8c authored by Roland Levillain's avatar Roland Levillain
Browse files

Create a configure variable for C++ compiler flags used for the

	tests.

	* configure.ac (TESTS_CXXFLAGS): New variable.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@592 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent c0de730a
2006-09-29 Roland Levillain <roland@lrde.epita.fr>
Create a configure variable for C++ compiler flags used for the
tests.
* configure.ac (TESTS_CXXFLAGS): New variable.
2006-09-25 Roland Levillain <roland@lrde.epita.fr>
Fix the distribution.
......
......@@ -32,6 +32,13 @@ if test "$GXX" = yes; then
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. ##
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment