diff options
author | raveit65 <[email protected]> | 2020-04-09 12:11:52 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-04-09 14:32:36 +0200 |
commit | 5b5fb8f98938fa6928947f27715cadc247678cc2 (patch) | |
tree | a76ccf7055c561a22274cb686e6ca3c6c18c40f8 | |
parent | 9d5c5d46698a9fa0542b85d1ccd125e12651676f (diff) | |
download | mate-indicator-applet-5b5fb8f98938fa6928947f27715cadc247678cc2.tar.bz2 mate-indicator-applet-5b5fb8f98938fa6928947f27715cadc247678cc2.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 \ |