diff options
author | raveit65 <[email protected]> | 2020-04-09 12:11:52 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-09 19:20:08 +0200 |
commit | 6a78389888398f3aa2fe4e471cbf8c9551cbb1f2 (patch) | |
tree | 4247c7426e70f73c722cf64098a7027e1dd92aa6 | |
parent | 708c43b67c2066ec54e296ae4b5ad5548efeac17 (diff) | |
download | mate-indicator-applet-6a78389888398f3aa2fe4e471cbf8c9551cbb1f2.tar.bz2 mate-indicator-applet-6a78389888398f3aa2fe4e471cbf8c9551cbb1f2.tar.xz |
use MATE_COMPILE_WARNINGS from mate-common
default WARN_CFLAGS level is [yes]
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | src/Makefile.am | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index dbb7c19..938ed96 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,8 @@ AC_CONFIG_MACRO_DIR([m4]) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) +MATE_COMPILE_WARNINGS + ########################### # Dependencies ########################### @@ -308,6 +310,7 @@ AC_MSG_NOTICE([ Indicator Applet Configuration: Prefix: $prefix + Warning cflags: ${WARN_CFLAGS} Indicator implementation: $indicator_implementation Indicator NG support: $have_indicator_ng Indicator Directory: $INDICATORDIR diff --git a/src/Makefile.am b/src/Makefile.am index e60f286..2f402aa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,7 +25,8 @@ mate_indicator_applet_CFLAGS = \ -DINDICATOR_APPLET \ -I$(srcdir)/.. \ $(APPLET_CFLAGS) \ - $(INDICATOR_CFLAGS) + $(INDICATOR_CFLAGS) \ + $(WARN_CFLAGS) mate_indicator_applet_SOURCES = \ applet-main.c \ @@ -47,7 +48,8 @@ mate_indicator_applet_appmenu_CFLAGS = \ -DINDICATOR_APPLET_APPMENU \ -I$(srcdir)/.. \ $(APPLET_CFLAGS) \ - $(INDICATOR_CFLAGS) + $(INDICATOR_CFLAGS) \ + $(WARN_CFLAGS) mate_indicator_applet_appmenu_SOURCES = \ applet-main.c \ @@ -69,7 +71,8 @@ mate_indicator_applet_complete_CFLAGS = \ -DINDICATOR_APPLET_COMPLETE \ -I$(srcdir)/.. \ $(APPLET_CFLAGS) \ - $(INDICATOR_CFLAGS) + $(INDICATOR_CFLAGS) \ + $(WARN_CFLAGS) mate_indicator_applet_complete_SOURCES = \ applet-main.c \ |