mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
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])
|
AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl
|
ri_GCC_WARNINGS()
|
||||||
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
|
|
||||||
|
|
||||||
AC_SUBST(CFLAGS)
|
AC_SUBST(CFLAGS)
|
||||||
AC_SUBST(CPPFLAGS)
|
AC_SUBST(CPPFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user