Commit 78131eee authored by Jan Maria Matejka's avatar Jan Maria Matejka Committed by Maria Matejka

Debug: support for -gdwarf-4 is not available everywhere

parent bda58634
Pipeline #43459 passed with stages
in 4 minutes and 32 seconds
......@@ -343,7 +343,10 @@ fi
if test "$enable_debug" = yes ; then
AC_DEFINE([DEBUGGING], [1], [Define to 1 if debugging is enabled])
LDFLAGS="$LDFLAGS -rdynamic"
CFLAGS="$CFLAGS -O0 -ggdb -g3 -gdwarf-4"
CFLAGS="$CFLAGS -O0 -ggdb -g3"
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4], [])
BIRD_ADD_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4])
AC_CHECK_HEADER([execinfo.h],
[
......
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