diff options
author | rbuj <[email protected]> | 2019-09-26 18:05:13 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-09-30 22:01:49 +0200 |
commit | eff1d3b138c8a6990fa388e3cc2eb9a9760abf14 (patch) | |
tree | 01f0405268d9ccbadb31e299cf83fcf6e762b6d2 /applets/brightness/Makefile.am | |
parent | fbfbc8c52c6454a9b4a9840c8aac42dcd5d51b5d (diff) | |
download | mate-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/brightness/Makefile.am')
-rw-r--r-- | applets/brightness/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
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 |