[v2,1/2] configure: enable all Automake warnings and make them errors

Message ID 1518062407-26798-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v2,1/2] configure: enable all Automake warnings and make them errors
Related show

Commit Message

Github ODP bot Feb. 8, 2018, 4 a.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Make Automake stop on all warnings it encounters when creating
Makefile.in's

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 460 (lumag:build-fixes)
 ** https://github.com/Linaro/odp/pull/460
 ** Patch: https://github.com/Linaro/odp/pull/460.patch
 ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a
 ** Merge commit sha: a42e90d8f0b66fad7224dc2acd7f696e4fb67bef
 **/
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/configure.ac b/configure.ac
index 7b90b2127..a44a2ec6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@  ODP_VERSION_API_MAJOR=odpapi_major_version
 AC_SUBST(ODP_VERSION_API_MAJOR)
 ODP_VERSION_API_MINOR=odpapi_minor_version
 AC_SUBST(ODP_VERSION_API_MINOR)
-AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects foreign nostdinc])
+AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects foreign nostdinc -Wall -Werror])
 AC_CONFIG_SRCDIR([include/odp/api/spec/init.h])
 AM_CONFIG_HEADER([include/config.h])