diff options
Diffstat (limited to 'net/ocserv/files/patch-configure.ac')
-rw-r--r-- | net/ocserv/files/patch-configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ocserv/files/patch-configure.ac b/net/ocserv/files/patch-configure.ac index d7a63c6cb88f..27f60419b701 100644 --- a/net/ocserv/files/patch-configure.ac +++ b/net/ocserv/files/patch-configure.ac @@ -1,15 +1,15 @@ ---- configure.ac.orig 2020-04-09 21:07:12 UTC +--- configure.ac.orig 2020-10-09 11:32:59 UTC +++ configure.ac @@ -15,7 +15,7 @@ AM_PROG_AR AM_PROG_CC_C_O AC_PROG_SED - if [ test "$GCC" = "yes" ];then + if test "$GCC" = "yes" && ! expr "$CC" : clang >/dev/null 2>&1;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" fi + AC_PATH_PROG(CTAGS, ctags, [:]) - AC_PATH_PROG(CSCOPE, cscope, [:]) -@@ -199,7 +199,7 @@ if test "$test_for_geoip" = yes && test "$have_maxmind +@@ -222,7 +222,7 @@ if test "$test_for_geoip" = yes && test "$have_maxmind fi have_readline=no |