Commit 368f7060 authored by Maria Matejka's avatar Maria Matejka Committed by Ondřej Zajíček
Browse files

LTO: debug info also kept with the final binary

parent 6dda6931
...@@ -150,7 +150,7 @@ if test "$bird_cflags_default" = yes ; then ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment