aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 15:29:12 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-19 15:29:12 -0400
commita0773c53b13546f4957f2b2ac1f0455fedc05525 (patch)
tree82be5fe12fee0a3747e797b60c5c78af81844279
parentbb23395d4a7b5889c91b3708e46c75623fe7f2a9 (diff)
downloadayatana-indicator-sound-a0773c53b13546f4957f2b2ac1f0455fedc05525.tar.gz
ayatana-indicator-sound-a0773c53b13546f4957f2b2ac1f0455fedc05525.tar.bz2
ayatana-indicator-sound-a0773c53b13546f4957f2b2ac1f0455fedc05525.zip
Disable warnings for vala-generated C code
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 15a5cbf..5958b51 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,11 +23,13 @@ indicator_sound_service_VALAFLAGS = \
--pkg libpulse-mainloop-glib \
--target-glib=2.36
+# -w to disable warnings for vala-generated code
indicator_sound_service_CFLAGS = $(PULSEAUDIO_CFLAGS) \
$(SOUNDSERVICE_CFLAGS) \
$(GCONF_CFLAGS) \
$(COVERAGE_CFLAGS) \
- -DLIBEXECDIR=\"$(libexecdir)\" -Wall \
+ -DLIBEXECDIR=\"$(libexecdir)\" \
+ -w \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"
indicator_sound_service_LDADD = $(PULSEAUDIO_LIBS) $(SOUNDSERVICE_LIBS) $(GCONF_LIBS)