X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=8a18fd7d22ab498436f8887e3aa431c4d698af56;hb=363ba89b6954d2cdcc20f738b627499695e4aaf4;hp=c2e737330aa3a3cbdd7fe74f21e1648cee6cd5f0;hpb=34e51775d26f5caf5e8f89dfd906d1f6d6efe9b6;p=awesomized%2Flibmemcached 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