mirror of https://github.com/MidnightCommander/mc
Enable GCC version specific warnings.
This commit is contained in:
parent
5a345d5e4d
commit
e4b55374d8
|
@ -543,13 +543,7 @@ if test "$GLIBC21" != yes; then
|
|||
AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl Enforce coding standards
|
||||
dnl
|
||||
if test "x$GCC" = xyes -a x"$USE_MAINTAINER_MODE" = x"yes"; then
|
||||
dnl Prepend the flags to keep them user-overridable
|
||||
CFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused-parameter $CFLAGS"
|
||||
fi
|
||||
ri_GCC_WARNINGS()
|
||||
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(CPPFLAGS)
|
||||
|
|
Loading…
Reference in New Issue