From 54f10719ae236f67db8505a0217c190bac32c13b Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 26 Sep 2019 19:59:26 +0200 Subject: Use WARN_CFLAGS which are only set with --enable-compiler-warnings It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum --- src/tools/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/tools') diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am index 0a1da4b6..d88f571f 100644 --- a/src/tools/Makefile.am +++ b/src/tools/Makefile.am @@ -1,9 +1,12 @@ icondir=$(pkgdatadir)/icons icon_DATA=marco-window-demo.png -AM_CPPFLAGS=@MARCO_WINDOW_DEMO_CFLAGS@ @MARCO_MESSAGE_CFLAGS@ \ +AM_CPPFLAGS = \ + @MARCO_WINDOW_DEMO_CFLAGS@ \ + @MARCO_MESSAGE_CFLAGS@ \ -DMARCO_ICON_DIR=\"$(pkgdatadir)/icons\" \ - -DMARCO_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" + -DMARCO_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" \ + $(WARN_CFLAGS) marco_message_SOURCES= \ marco-message.c -- cgit v1.2.1