summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-03-18 16:27:36 +0100
committerMark Stapp <mjs@voltanet.io>2021-03-19 13:20:54 +0100
commitf0812f010ef1bfba05c742931c3a186f9135b5f4 (patch)
tree0299b6580158e8a59a068be6e3bf3c446468c42c /configure.ac
parentMerge pull request #8286 from donaldsharp/nhrp_xlref (diff)
downloadfrr-f0812f010ef1bfba05c742931c3a186f9135b5f4.tar.xz
frr-f0812f010ef1bfba05c742931c3a186f9135b5f4.zip
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>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b034fab50..44d68f484 100755
--- a/configure.ac
+++ b/configure.ac
@@ -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