diff options
-rw-r--r-- | bs/config.mk.default | 3 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bs/config.mk.default b/bs/config.mk.default index 765cda236..52c5829d6 100644 --- a/bs/config.mk.default +++ b/bs/config.mk.default @@ -10,7 +10,8 @@ CC = gcc CFLAGS = -O2 -Wall \ -Wmissing-prototypes -Wextra -Wno-unused-parameter \ -Wno-deprecated-declarations -Wmissing-prototypes \ - -Wdeclaration-after-statement -Wshadow + -Wdeclaration-after-statement -Wshadow -Wpointer-arith \ + -Wstrict-prototypes -Wcast-qual -Wwrite-strings LDFLAGS = -Wl,-O1 diff --git a/configure.ac b/configure.ac index 5630fe650..c3db4cbc1 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,8 @@ then MPD_CHECK_FLAG([-Wshadow]) MPD_CHECK_FLAG([-Wpointer-arith]) MPD_CHECK_FLAG([-Wstrict-prototypes]) + MPD_CHECK_FLAG([-Wcast-qual]) + MPD_CHECK_FLAG([-Wwrite-strings]) fi if test -z "$prefix" || test "x$prefix" = xNONE; then |