diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-18 17:21:24 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-18 17:21:24 +0200 |
commit | 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 (patch) | |
tree | e7a4573e5021554b09c3a61a7e2101e200553c16 /configure.ac | |
parent | Set stdin and stdout to binary mode on Windows. This patch is (diff) | |
download | xz-079c4f7fc26b3d0b33d9ae7536697b45f3b73585.tar.xz |
Don't add -g to CFLAGS when --enable-debug is specified.
It's the job of the user to put that in CFLAGS.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
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.]) |