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
Pipeline #53958 passed with stages
in 5 minutes and 38 seconds
......@@ -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"
......
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