From b155f9d6fed0d33da27bed707276d48482ac1e7c Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 28 Sep 2019 11:34:14 +0200 Subject: Use MATE_COMPILE_WARNINGS and MATE_CXX_WARNINGS macros - It adds WARN_CFLAGS to CFLAGS, and WARN_CXXLAGS to CXXFLAGS - By default, --enable-cxx-warnings=yes --enable-compile-warnings=yes - It prints the warning flags in configure summary --- tools/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 204a42b..e752c94 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -4,9 +4,9 @@ AM_CPPFLAGS = $(TOOLS_CFLAGS) msm_renice_SOURCES = msm_execute_helper.c msm_renice_LDADD = $(TOOLS_LIBS) -msm_renice_CFLAGS = -DCOMMAND=\"renice\" +msm_renice_CFLAGS = -DCOMMAND=\"renice\" $(WARN_CFLAGS) msm_kill_SOURCES = msm_execute_helper.c msm_kill_LDADD = $(TOOLS_LIBS) -msm_kill_CFLAGS = -DCOMMAND=\"kill\" +msm_kill_CFLAGS = -DCOMMAND=\"kill\" $(WARN_CFLAGS) -- cgit v1.2.1