From 368f70604f347e310ca70828bfdd2504fd116064 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 25 Sep 2019 16:37:16 +0200 Subject: LTO: debug info also kept with the final binary --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3