From: Brian Aker Date: Thu, 2 Aug 2012 04:59:31 +0000 (-0400) Subject: Adding per-rule changes. X-Git-Tag: 1.0.11~8^2~16 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Flibmemcached;a=commitdiff_plain;h=363ba89b6954d2cdcc20f738b627499695e4aaf4 Adding per-rule changes. --- diff --git a/Makefile.am b/Makefile.am index 6581b2aa..1326e2eb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,7 +70,7 @@ merge-clean: @find ./ | $(GREP) \.moved | xargs rm -r -f @find ./ | $(GREP) \.orig | xargs rm -f @find ./ | $(GREP) \.rej | xargs rm -f - @rm *\.rpm + @rm -f *\.rpm @find ./ | $(GREP) \.THIS | xargs rm -f @find ./ | $(GREP) \.OTHER | xargs rm -f @find ./ | $(GREP) \.BASE | xargs rm -f diff --git a/configure.ac b/configure.ac index c2e73733..8a18fd7d 100644 --- a/configure.ac +++ b/configure.ac @@ -296,6 +296,16 @@ fi AX_CHECK_SOCK_CLOEXEC([AC_DEFINE([HAVE_SOCK_CLOEXEC], [1], [Check for SOCK_CLOEXEC.])], [AC_DEFINE([HAVE_SOCK_CLOEXEC], [0], [Check for SOCK_CLOEXEC.])]) +AX_APPEND_COMPILE_FLAGS([-Werror -Wall]) +AX_APPEND_COMPILE_FLAGS([-Werror -Wextra]) +AX_APPEND_COMPILE_FLAGS([-Werror -fstack-protector-all]) +AX_APPEND_COMPILE_FLAGS([-Werror -ggdb]) +AX_APPEND_COMPILE_FLAGS([-Werror -floop-parallelize-all]) +AX_APPEND_COMPILE_FLAGS([-Werror -Wsign-compare]) +AX_APPEND_COMPILE_FLAGS([-Werror -Wmaybe-uninitialized]) +AX_APPEND_COMPILE_FLAGS([-Werror -Wunused-variable]) +AX_APPEND_COMPILE_FLAGS([-Werror -Wsign-compare]) + AC_CONFIG_FILES([ Makefile docs/conf.py