From 579fae4ab7d37423aee4d9cdf7a29f9d96c2b764 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 16 Aug 2020 15:38:58 +0100 Subject: [PATCH] build: drop --enable-debug option The default CFLAGS already includes -g. If other flags are desired, they can be easily provided by setting CFLAGS in the environment. --- configure.ac | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/configure.ac b/configure.ac index 11ddbccd..c9966615 100644 --- a/configure.ac +++ b/configure.ac @@ -67,19 +67,6 @@ if test "$using_win32_glob" = yes; then fi AM_CONDITIONAL(HAVE_WIN32_GLOB, test x$using_win32_glob = xyes) -dnl Debugging -AC_MSG_CHECKING([whether to make a debug build]) -AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [make a debug build])) -AC_MSG_RESULT($enable_debug) -if test "$enable_debug" = "yes"; then - CFLAGS="-g" - if test "$GCC" = "yes"; then - CFLAGS="$CFLAGS -ggdb" - fi -else - enable_debug=no -fi - AX_APPEND_COMPILE_FLAGS([-fstack-protector-strong]) AX_APPEND_COMPILE_FLAGS([-Wall -Wmissing-prototypes -Wstrict-prototypes]) @@ -498,7 +485,6 @@ fi # Report configuration. echo echo "BUILD OPTIONS" -echo "Debugging build............$enable_debug" echo "Distro name ...............${with_distro:-unspecified}" echo "Dynamic loading support....$using_libltdl" echo "Pkg-config location........$pkgconfigdir" -- 2.11.4.GIT