From d1ad9160c7bc5131ff58ad5211101cf83558ffd7 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 26 Apr 2019 16:14:44 +0000 Subject: [PATCH] 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 --- net/ocserv/files/patch-configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ocserv/files/patch-configure.ac b/net/ocserv/files/patch-configure.ac index ee5955dc0f8c..08394c7146c5 100644 --- a/net/ocserv/files/patch-configure.ac +++ b/net/ocserv/files/patch-configure.ac @@ -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, [:])