From eff1d3b138c8a6990fa388e3cc2eb9a9760abf14 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 26 Sep 2019 18:05:13 +0200 Subject: Use WARN_CFLAGS which are only set with -enable-compiler-warnings MATE_COMPILE_WARNINGS is present in configure.ac but WARN_CFLAGS variable is not used. git grep WARN_CFLAGS It removes -enable-extra-warn=yes, since it is recommended to use -enable-compile-warnings=maximum. It sets -enable-compiler-warnings=yes, the default value for all MATE packager for now. It prints WARN_CFLAGS in summary table. --- applets/brightness/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'applets/brightness') diff --git a/applets/brightness/Makefile.am b/applets/brightness/Makefile.am index 5977106..bcc28d2 100644 --- a/applets/brightness/Makefile.am +++ b/applets/brightness/Makefile.am @@ -1,3 +1,5 @@ +NULL = + AM_CPPFLAGS = \ -I. -I$(srcdir) \ $(GLIB_CFLAGS) \ @@ -18,7 +20,8 @@ AM_CPPFLAGS = \ -DEGG_VERBOSE="\"GPM_VERBOSE\"" \ -DEGG_LOGGING="\"GPM_LOGGING\"" \ -DEGG_CONSOLE="\"GPM_CONSOLE\"" \ - $(DISABLE_DEPRECATED) + $(DISABLE_DEPRECATED) \ + $(WARN_CFLAGS) \ $(NULL) libexec_PROGRAMS=mate-brightness-applet -- cgit v1.2.1