diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-03-31 17:35:32 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-03-31 17:35:32 +0200 | 
| commit | baad07c59d069eacd0698fd8d252dd0ad5a2994f (patch) | |
| tree | aa3a71251e32076bc698c897707e7e72de8284ab /configure.ac | |
| parent | f979f3fd21894b663e489bdacf083547bdee3467 (diff) | |
build: stick `-g` into LDFLAGS
Without `-g` in LDFLAGS we won't get debug info even if it's enabled in
CFLAGS.  Since we're controlling debug info through CFLAGS, there's no
harm in always having `-g` in LDFLAGS.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 170d16ca6a..c636fade70 100644 --- a/configure.ac +++ b/configure.ac @@ -325,6 +325,9 @@ else     fi  fi +dnl just stick -g into LDFLAGS, if we don't have it in CFLAGS it won't do much +LDFLAGS="$LDFLAGS -g" +  AM_CONDITIONAL([DEV_BUILD], [test "$enable_dev_build" = "yes"])  dnl always want these CFLAGS  | 
