Configure: Don't check for implicit fallthrough unless when debugging.

This commit is contained in:
Jan Maria Matejka 2018-12-17 12:45:21 +01:00 committed by Maria Matejka
parent a946317fab
commit 02dcbf343d

View file

@ -364,6 +364,9 @@ if test "$enable_debug" = yes ; then
AC_CHECK_LIB([efence], [malloc]) AC_CHECK_LIB([efence], [malloc])
fi fi
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 fi
CLIENT=birdcl CLIENT=birdcl