* configure.ac: Empty CFLAGS and CXXFLAGS.
* m4/debug.m4: Update CXXFLAGS too.
This commit is contained in:
parent
6e40095471
commit
7bcd027712
3 changed files with 12 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ AC_DEFUN([adl_ENABLE_DEBUG],
|
|||
# are able to grok the resulting debug infos.
|
||||
if test "${ac_cv_prog_cc_g}" = yes; then
|
||||
CFLAGS="$CFLAGS -g"
|
||||
CXXFLAGS="$CXXFLAGS -g"
|
||||
fi
|
||||
;;
|
||||
no)
|
||||
|
|
@ -15,6 +16,7 @@ AC_DEFUN([adl_ENABLE_DEBUG],
|
|||
*)
|
||||
if test "${ac_cv_prog_cc_g}" = yes; then
|
||||
CFLAGS="$CFLAGS -g"
|
||||
CXXFLAGS="$CXXFLAGS -g"
|
||||
fi
|
||||
;;
|
||||
esac])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue