autofoo: Move warning flags setup to configure.ac
This commit is contained in:
@@ -24,6 +24,12 @@ PKG_PROG_PKG_CONFIG
|
||||
|
||||
PKG_CHECK_MODULES(FUSE, fuse)
|
||||
|
||||
CFLAGS_WARN="$CFLAGS_WARN -Wall -Wextra -Werror -Wno-unused-parameter"
|
||||
CFLAGS_WARN="$CFLAGS_WARN -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes"
|
||||
CFLAGS_WARN="$CFLAGS_WARN -Waggregate-return -Wpointer-arith -Wshadow -Wwrite-strings"
|
||||
CFLAGS_WARN="$CFLAGS_WARN -Wcast-align -Wcast-qual"
|
||||
AC_SUBST(CFLAGS_WARN)
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
|
||||
Reference in New Issue
Block a user