From: Lennart Poettering Date: Thu, 13 May 2010 01:21:19 +0000 (+0200) Subject: vala: hide a few vala warnings X-Git-Tag: 0.git+20100605+dfd8ee-1~13^2~43 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67ef7823c651015929d4f20e4c9d59998c5bac7d;p=systemd vala: hide a few vala warnings --- diff --git a/Makefile.am b/Makefile.am index ebcdedd4..e86eedf3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,7 +36,7 @@ AM_CPPFLAGS = \ -DSYSTEMD_BINARY_PATH=\"$(sbindir)/systemd\" # -DSYSTEMD_BINARY_PATH=\"/home/lennart/projects/systemd/systemd\" - +VALA_CFLAGS=-Wno-unused-variable -Wno-unused-function sbin_PROGRAMS = \ systemd @@ -222,14 +222,14 @@ systemctl_SOURCES = \ systemctl.vala \ systemd-interfaces.vala -systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) +systemctl_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(VALA_CFLAGS) systemctl_LDADD = $(DBUSGLIB_LIBS) systemadm_SOURCES = \ systemadm.vala \ systemd-interfaces.vala -systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) +systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(VALA_CFLAGS) systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS) systemd-initctl.service: units/systemd-initctl.service.in Makefile