From 363ba89b6954d2cdcc20f738b627499695e4aaf4 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Thu, 2 Aug 2012 00:59:31 -0400 Subject: [PATCH] Adding per-rule changes. --- Makefile.am | 2 +- configure.ac | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.30.2