mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:46:54 +00:00
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
|
if test "$orig_cflags" = ""; then
|
||||||
AC_C_FLAG([-g3])
|
AC_C_FLAG([-g3])
|
||||||
AC_C_FLAG([-O0])
|
AC_C_FLAG([-O0])
|
||||||
|
AC_C_FLAG([-ggdb3])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if test "$orig_cflags" = ""; then
|
if test "$orig_cflags" = ""; then
|
||||||
@ -308,6 +309,7 @@ else
|
|||||||
AC_C_FLAG([-O2])
|
AC_C_FLAG([-O2])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL([DEV_BUILD], [test "$enable_dev_build" = "yes"])
|
AM_CONDITIONAL([DEV_BUILD], [test "$enable_dev_build" = "yes"])
|
||||||
|
|
||||||
dnl always want these CFLAGS
|
dnl always want these CFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user