From 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 18 Jan 2008 17:21:24 +0200 Subject: [PATCH] Don't add -g to CFLAGS when --enable-debug is specified. It's the job of the user to put that in CFLAGS. --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0a5c5dd7..a25b9b02 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,6 @@ AC_MSG_CHECKING([if debugging code should be compiled]) AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging code.]), [], enable_debug=no) if test "x$enable_debug" = xyes; then - CFLAGS="-g $CFLAGS" AC_MSG_RESULT([yes]) else AC_DEFINE(NDEBUG, 1, [Define to disable debugging code.])