diff options
author | Maria Matejka <mq@ucw.cz> | 2019-09-30 13:54:14 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-10-09 17:47:14 +0200 |
commit | cc95b4594ac924b40325a4f1adcae5312179db40 (patch) | |
tree | 7b6121f8fc57d6e2c50d1ef05bed9db77563d659 /configure.ac | |
parent | d6eea6caee187dc5f6d8ed585a59031039a5c523 (diff) |
Build: Pass -g to cc called as linker to explicitly keep debug info
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 35d05ac4..40f021a1 100644 --- a/configure.ac +++ b/configure.ac @@ -151,6 +151,8 @@ if test "$bird_cflags_default" = yes ; then if test "$bird_cv_c_lto" = yes; then CFLAGS="$CFLAGS -flto" LDFLAGS="$LDFLAGS -flto=4 -g" + else + LDFLAGS="$LDFLAGS -g" fi CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wno-parentheses" |