]> err.no Git - systemd/commitdiff
vala: hide a few vala warnings
authorLennart Poettering <lennart@poettering.net>
Thu, 13 May 2010 01:21:19 +0000 (03:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 May 2010 01:21:19 +0000 (03:21 +0200)
Makefile.am

index ebcdedd4fc5f061f5c28525b7e234fb38c057248..e86eedf3a534665a7047d04c8f68d34d6d843cdc 100644 (file)
@@ -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