Fixed CFLags for debug mode
Fixing the behavior when using the `--enable-debug` flag -> the `CFLAGS` variable get's overwritten. Also logging out the `LDFLAGS` variable for debugging purposes.
This commit is contained in:
parent
9b6bb3ecbf
commit
dc85b220a5
1 changed files with 2 additions and 1 deletions
|
|
@ -123,12 +123,13 @@ AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],[Build with debug symbols,
|
|||
|
||||
AC_MSG_RESULT(debug is $ac_enable_debug)
|
||||
if test "$ac_enable_debug" = "yes"; then
|
||||
CFLAGS="-g -Wall"
|
||||
CFLAGS="$CFLAGS -g -Wall"
|
||||
INSTALLFLAGS=""
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT(CPPFLAGS is $CPPFLAGS)
|
||||
AC_MSG_RESULT(CFLAGS is $CFLAGS)
|
||||
AC_MSG_RESULT(LDFLAGS is $LDFLAGS)
|
||||
AC_MSG_RESULT(INSTALLFLAGS is $INSTALLFLAGS)
|
||||
|
||||
AC_PROG_YACC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue