---
configure.ac | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index a64f80d..9fd70ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -569,6 +569,13 @@ if test -z "$APPS_CXXFLAGS"; then
APPS_CXXFLAGS="-O3 -DNDEBUG -g $WARNINGS_CXXFLAGS"
fi
fi
+# Likewise, without debugging information.
+AC_ARG_VAR([APPS_CXXFLAGS_NODEBUG],
+ [C++ compiler flags for applications w/o debug symbols])
+if test -z "$APPS_CXXFLAGS_NODEBUG" && test "$GXX" = yes;
then
+ APPS_CXXFLAGS_NODEBUG="-O3 -DNDEBUG $WARNINGS_CXXFLAGS"
+fi
+
## ------- ##
## Tools. ##
--
1.7.2.5