autofoo: Move warning flags setup to configure.ac

This commit is contained in:
Kim Woelders
2023-02-12 14:36:33 +01:00
parent ad077571f8
commit cc038383fe
2 changed files with 6 additions and 5 deletions
+6
View File
@@ -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