Commit 368f7060 authored by Maria Matejka's avatar Maria Matejka Committed by Ondrej Zajicek (work)
Browse files

LTO: debug info also kept with the final binary

parent 6dda6931
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"