From: Guus Sliepen Date: Mon, 14 Aug 2017 20:31:04 +0000 (+0200) Subject: Force -Wall. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=445ef01ff266968b6545823aefece548c1517a40;p=meshlink 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. --- 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 \