Adding per-rule changes.
authorBrian Aker <brian@tangent.org>
Thu, 2 Aug 2012 04:59:31 +0000 (00:59 -0400)
committerBrian Aker <brian@tangent.org>
Thu, 2 Aug 2012 04:59:31 +0000 (00:59 -0400)
Makefile.am
configure.ac

index 6581b2aa0cd6dd52ef21610b73a7aa2f9ac8252b..1326e2eb38aabfb6f17a846bc1ef0f216e916cca 100644 (file)
@@ -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
index c2e737330aa3a3cbdd7fe74f21e1648cee6cd5f0..8a18fd7d22ab498436f8887e3aa431c4d698af56 100644 (file)
@@ -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