net/ocserv: fix build with base GCC

-Wno-implicit-fallthrough is not supported by GCC 4.2

PR:		237558
Approved by:	tcberner (mentor), cpm (maintainer)
Differential Revision:	https://reviews.freebsd.org/D20075
This commit is contained in:
Piotr Kubaj 2019-04-26 16:14:44 +00:00
parent e7966dbfe2
commit d1ad9160c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500117

View file

@ -5,7 +5,7 @@
AC_PROG_SED
if [ test "$GCC" = "yes" ];then
- CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-stringop-truncation"
+ CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough"
+ CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers"
fi
AC_PATH_PROG(CTAGS, ctags, [:])
AC_PATH_PROG(CSCOPE, cscope, [:])