diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-03-22 10:04:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-22 10:04:47 +0100 |
| commit | f0824c57dd1463abb26c532fc58d631b524e281c (patch) | |
| tree | 08b2a081fadaf131ad8481ff5eb3f8ce7ed95995 | |
| parent | 7183def9b1fb40fb3825ae919c2e37753edb58ee (diff) | |
| parent | f0812f010ef1bfba05c742931c3a186f9135b5f4 (diff) | |
Merge pull request #8287 from mjstapp/more_gdb_in_configure
build: add -ggdb3 to dev build
| -rwxr-xr-x | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b034fab50c..44d68f4845 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 |
