mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 04:40:21 +00:00
Merge pull request #8287 from mjstapp/more_gdb_in_configure
build: add -ggdb3 to dev build
This commit is contained in:
commit
f0824c57dd
@ -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 New Issue
Block a user