From 5d186053dd478cf9117861eccc3e391c148d2a28 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Jun 2019 19:41:40 +0200 Subject: [PATCH] configure: remove `--enable-debug`. Why? because the code intentionally uses assert(), and we want the code to always run as was designed. Signed-off-by: Juan RP --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 753a9a61..49f9255f 100755 --- a/configure +++ b/configure @@ -15,6 +15,8 @@ BUILD_STATIC= SILENT=yes HAVE_VISIBILITY=no SET_RPATH= +DEBUG=yes +FULL_DEBUG= usage() { @@ -42,7 +44,6 @@ for instance \`--prefix=\$HOME'. --verbose Disable silent build to see compilation details --enable-rpath Link binaries with rpath '\$ORIGIN/../lib' --enable-api-docs Install XBPS API Library documentation (default disabled) ---enable-debug Build with debugging code and symbols (default disabled) --enable-fulldebug Enables extra debugging code (default disabled) --enable-static Build XBPS static utils (default disabled) --enable-tests Build and install Kyua tests (default disabled) @@ -56,7 +57,6 @@ for x; do opt=${x%%=*} var=${x#*=} case "$opt" in - --enable-debug) DEBUG=yes;; --enable-fulldebug) FULL_DEBUG=yes;; --enable-rpath) SET_RPATH=yes;; --prefix) PREFIX=$var;; @@ -759,7 +759,7 @@ echo " Build API documentation = $BUILD_API_DOCS_VALUE" echo " Build Kyua test suite = $BUILD_TESTS_VALUE" echo " Build programs as PIE = $BUILD_PIE_VALUE" echo " Build static programs = $BUILD_STATIC_VALUE" -echo " Build with debug = $DEBUG" +echo " Build with full debug = $FULL_DEBUG" if [ -n "$HAVE_VISIBILITY" ]; then echo " Symbol visibility = $HAVE_VISIBILITY" fi