mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
Debug: support for -gdwarf-4 is not available everywhere
This commit is contained in:
parent
532116e7e3
commit
3276e16474
@ -343,7 +343,10 @@ fi
|
|||||||
if test "$enable_debug" = yes ; then
|
if test "$enable_debug" = yes ; then
|
||||||
AC_DEFINE([DEBUGGING], [1], [Define to 1 if debugging is enabled])
|
AC_DEFINE([DEBUGGING], [1], [Define to 1 if debugging is enabled])
|
||||||
LDFLAGS="$LDFLAGS -rdynamic"
|
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],
|
AC_CHECK_HEADER([execinfo.h],
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user