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:
parent
e7966dbfe2
commit
d1ad9160c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500117
1 changed files with 1 additions and 1 deletions
|
@ -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, [:])
|
||||
|
|
Loading…
Reference in a new issue