]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: add -ggdb3 to dev build 8287/head
authorMark Stapp <mjs@voltanet.io>
Thu, 18 Mar 2021 15:27:36 +0000 (11:27 -0400)
committerMark Stapp <mjs@voltanet.io>
Fri, 19 Mar 2021 12:20:54 +0000 (08:20 -0400)
Add a little more gdb-specific debugging info for dev builds.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
configure.ac

index b034fab50cb24f4664ebc6a1326fd1de7d81a2a5..44d68f484572166ce076a17294598eed2f3e57b2 100755 (executable)
@@ -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