summaryrefslogtreecommitdiff
path: root/applets/inhibit
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-26 18:05:13 +0200
committerraveit65 <[email protected]>2019-09-30 22:01:49 +0200
commiteff1d3b138c8a6990fa388e3cc2eb9a9760abf14 (patch)
tree01f0405268d9ccbadb31e299cf83fcf6e762b6d2 /applets/inhibit
parentfbfbc8c52c6454a9b4a9840c8aac42dcd5d51b5d (diff)
downloadmate-power-manager-eff1d3b138c8a6990fa388e3cc2eb9a9760abf14.tar.bz2
mate-power-manager-eff1d3b138c8a6990fa388e3cc2eb9a9760abf14.tar.xz
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.
Diffstat (limited to 'applets/inhibit')
-rw-r--r--applets/inhibit/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/inhibit/Makefile.am b/applets/inhibit/Makefile.am
index b32f178..1b10447 100644
--- a/applets/inhibit/Makefile.am
+++ b/applets/inhibit/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
AM_CPPFLAGS = \
-I. -I$(srcdir) \
$(GLIB_CFLAGS) \
@@ -19,6 +21,7 @@ AM_CPPFLAGS = \
-DEGG_LOGGING="\"GPM_LOGGING\"" \
-DEGG_CONSOLE="\"GPM_CONSOLE\"" \
$(DISABLE_DEPRECATED) \
+ $(WARN_CFLAGS) \
$(NULL)
libexec_PROGRAMS=mate-inhibit-applet