From: Maria Matejka Date: Wed, 25 Sep 2019 14:37:16 +0000 (+0200) Subject: LTO: debug info also kept with the final binary X-Git-Tag: v2.0.7~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368f70604f347e310ca70828bfdd2504fd116064;p=thirdparty%2Fbird.git LTO: debug info also kept with the final binary --- diff --git a/configure.ac b/configure.ac index 7e8578ab4..35d05ac4a 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"