Configure: Don't check for implicit fallthrough unless when debugging.
This commit is contained in:
parent
a946317fab
commit
02dcbf343d
1 changed files with 3 additions and 0 deletions
|
@ -364,6 +364,9 @@ if test "$enable_debug" = yes ; then
|
|||
AC_CHECK_LIB([efence], [malloc])
|
||||
fi
|
||||
fi
|
||||
else
|
||||
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_wno_implicit_fallthrough], [-Wno-implicit-fallthrough])
|
||||
BIRD_ADD_GCC_OPTION([bird_cv_c_option_wno_implicit_fallthrough], [-Wno-implicit-fallthrough])
|
||||
fi
|
||||
|
||||
CLIENT=birdcl
|
||||
|
|
Loading…
Reference in a new issue