Merge pull request #8287 from mjstapp/more_gdb_in_configure

build: add -ggdb3 to dev build
This commit is contained in:
David Lamparter 2021-03-22 10:04:47 +01:00 committed by GitHub
commit f0824c57dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,6 +301,7 @@ if test "$enable_dev_build" = "yes"; then
if test "$orig_cflags" = ""; then
AC_C_FLAG([-g3])
AC_C_FLAG([-O0])
AC_C_FLAG([-ggdb3])
fi
else
if test "$orig_cflags" = ""; then
@ -308,6 +309,7 @@ else
AC_C_FLAG([-O2])
fi
fi
AM_CONDITIONAL([DEV_BUILD], [test "$enable_dev_build" = "yes"])
dnl always want these CFLAGS