forked from Mirror/frr
build: add -ggdb3 to dev build
Add a little more gdb-specific debugging info for dev builds. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
44544f191c
commit
f0812f010e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue