mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-10-09 13:44:08 +00:00
LTO: debug info also kept with the final binary
This commit is contained in:
parent
6dda6931d1
commit
368f70604f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user