* m4/ndebug.m4: Update CPPFLAGS, not CFLAGS.
This commit is contained in:
parent
576e00099d
commit
50ed9f8c0b
2 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
AC_DEFUN([adl_NDEBUG],
|
||||
[AC_ARG_ENABLE([assert],
|
||||
[AC_HELP_STRING([--enable-assert],[turn on assertions])])
|
||||
[AC_HELP_STRING([--enable-assert], [turn on assertions])])
|
||||
if test "$enable_assert" != yes; then
|
||||
CFLAGS="$CFLAGS -DNDEBUG"
|
||||
CPPFLAGS="$CPPFLAGS -DNDEBUG"
|
||||
fi])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue