Skip to content
Snippets Groups Projects
Commit cc95b459 authored by Maria Matejka's avatar Maria Matejka Committed by Ondřej Zajíček
Browse files

Build: Pass -g to cc called as linker to explicitly keep debug info

parent d6eea6ca
No related branches found
No related tags found
No related merge requests found
Pipeline #53958 passed with warnings
......@@ -151,6 +151,8 @@ if test "$bird_cflags_default" = yes ; then
if test "$bird_cv_c_lto" = yes; then
CFLAGS="$CFLAGS -flto"
LDFLAGS="$LDFLAGS -flto=4 -g"
else
LDFLAGS="$LDFLAGS -g"
fi
CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wno-parentheses"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment