projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d1784
)
Don't add -g to CFLAGS when --enable-debug is specified.
author
Lasse Collin
<lasse.collin@tukaani.org>
Fri, 18 Jan 2008 15:21:24 +0000
(17:21 +0200)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Fri, 18 Jan 2008 15:21:24 +0000
(17:21 +0200)
It's the job of the user to put that in CFLAGS.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
0a5c5dd
..
a25b9b0
100644
(file)
--- 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.])