0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00

LTO: debug info also kept with the final binary

This commit is contained in:
Maria Matejka 2019-09-25 16:37:16 +02:00 committed by Ondrej Zajicek (work)
parent 6dda6931d1
commit 368f70604f

View File

@ -150,7 +150,7 @@ if test "$bird_cflags_default" = yes ; then
if test "$bird_cv_c_lto" = yes; then if test "$bird_cv_c_lto" = yes; then
CFLAGS="$CFLAGS -flto" CFLAGS="$CFLAGS -flto"
LDFLAGS="$LDFLAGS -flto=4" LDFLAGS="$LDFLAGS -flto=4 -g"
fi fi
CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wno-parentheses" CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wno-parentheses"