mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
configure: use the -Wextra gcc flag for warnings
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
@@ -15,7 +15,7 @@ AM_PROG_AR
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_SED
|
||||
if [ test "$GCC" = "yes" ];then
|
||||
CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing"
|
||||
CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough"
|
||||
fi
|
||||
AC_PATH_PROG(CTAGS, ctags, [:])
|
||||
AC_PATH_PROG(CSCOPE, cscope, [:])
|
||||
|
||||
Reference in New Issue
Block a user