diff options
author | Maria Matejka <mq@ucw.cz> | 2019-09-25 16:37:16 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-10-09 17:47:14 +0200 |
commit | 368f70604f347e310ca70828bfdd2504fd116064 (patch) | |
tree | 6deab0b9f0832c1872c85bd3acb8249914044a69 | |
parent | 6dda6931d1d8f99d944d85770e235bfe75db0eb6 (diff) |
LTO: debug info also kept with the final binary
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7e8578ab..35d05ac4 100644 --- a/configure.ac +++ b/configure.ac @@ -150,7 +150,7 @@ if test "$bird_cflags_default" = yes ; then if test "$bird_cv_c_lto" = yes; then CFLAGS="$CFLAGS -flto" - LDFLAGS="$LDFLAGS -flto=4" + LDFLAGS="$LDFLAGS -flto=4 -g" fi CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wno-parentheses" |