mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 20:50:42 +00:00
make --enable-debug the default
This commit is contained in:
parent
4c48851096
commit
62d0845528
1 changed files with 2 additions and 2 deletions
|
@ -1006,11 +1006,11 @@ AC_SUBST(PLUGINDIR)
|
||||||
dnl CFLAGS for release and devel versions
|
dnl CFLAGS for release and devel versions
|
||||||
CFLAGS=""
|
CFLAGS=""
|
||||||
AC_ARG_ENABLE(debug,
|
AC_ARG_ENABLE(debug,
|
||||||
[ --enable-debug compile with debugging (for development)],
|
[ --disable-debug compile without debugging],
|
||||||
debug=$enable_debug
|
debug=$enable_debug
|
||||||
)
|
)
|
||||||
AC_MSG_CHECKING(for debugging)
|
AC_MSG_CHECKING(for debugging)
|
||||||
if test "x$debug" = xyes; then
|
if test "x$debug" != xno; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
BUILD_TYPE="$BUILD_TYPE Debug"
|
BUILD_TYPE="$BUILD_TYPE Debug"
|
||||||
CFLAGS="$CFLAGS -g"
|
CFLAGS="$CFLAGS -g"
|
||||||
|
|
Loading…
Reference in a new issue