* configure.ac (SCRIBO_CXXFLAGS, SCRIBO_TESTS_CXXFLAGS):
Add $WARNINGS_CXXFLAGS.
---
ChangeLog | 7 +++++++
configure.ac | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 262744c..9894dce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2014-06-27 Roland Levillain <roland(a)lrde.epita.fr>
+ Add warning flags to Scribo compiler flags.
+
+ * configure.ac (SCRIBO_CXXFLAGS, SCRIBO_TESTS_CXXFLAGS):
+ Add $WARNINGS_CXXFLAGS.
+
+2014-06-27 Roland Levillain <roland(a)lrde.epita.fr>
+
* configure.ac: Aesthetic changes.
2014-06-27 Roland Levillain <roland(a)lrde.epita.fr>
diff --git a/configure.ac b/configure.ac
index e5b8417..f007fe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -429,9 +429,9 @@ AC_CONFIG_FILES([
AC_ARG_VAR([SCRIBO_CXXFLAGS], [C++ compiler flags for Scribo binaries])
AC_ARG_VAR([SCRIBO_TESTS_CXXFLAGS], [C++ compiler flags for Scribo tests])
if test "$GXX" = yes || test "$ICPC" = yes; then
- test -z "$SCRIBO_CXXFLAGS" && SCRIBO_CXXFLAGS="-DNDEBUG
-O2"
+ test -z "$SCRIBO_CXXFLAGS" && SCRIBO_CXXFLAGS="-DNDEBUG -O2
$WARNINGS_CXXFLAGS"
# FIXME: We might want to use -ggdb when g++ is used.
- test -z "$SCRIBO_TESTS_CXXFLAGS" && SCRIBO_TESTS_CXXFLAGS="-g
-O0"
+ test -z "$SCRIBO_TESTS_CXXFLAGS" && SCRIBO_TESTS_CXXFLAGS="-g
-O0 $WARNINGS_CXXFLAGS"
fi
## --------------- ##
--
1.7.10.4
Show replies by date