From 445ef01ff266968b6545823aefece548c1517a40 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 14 Aug 2017 22:31:04 +0200 Subject: [PATCH] Force -Wall. AM_INIT_AUTOMAKE should ensure -Wall is set, but for some reason it doesn't. Force it by adding it to AM_CPPFLAGS. --- examples/Makefile.am | 2 +- src/Makefile.am | 2 +- test/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index f51b801c..09cd3a37 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,6 +1,6 @@ noinst_PROGRAMS = meshlinkapp chat chatpp manynodes channels -AM_CPPFLAGS = -I../src +AM_CPPFLAGS = -I../src -Wall meshlinkapp_SOURCES = meshlinkapp.c meshlinkapp_LDADD = ../src/libmeshlink.la ../catta/src/libcatta.la diff --git a/src/Makefile.am b/src/Makefile.am index 6340a1a2..21e45f7d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ ## Produce this file with automake to get Makefile.in -DEFAULT_INCLUDES = +AM_CPPFLAGS = -Wall ed25519_SOURCES = \ ed25519/add_scalar.c \ diff --git a/test/Makefile.am b/test/Makefile.am index fac85e03..596c4223 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -11,7 +11,7 @@ TESTS = \ dist_check_SCRIPTS = $(TESTS) -AM_CPPFLAGS = -I../src +AM_CPPFLAGS = -I../src -Wall check_PROGRAMS = \ basic \ -- 2.39.5