X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2FMakefile.am;fp=daemon%2FMakefile.am;h=8fb070f63fc4302251b1e444b47ed4829a444223;hp=ee1959f5830b9a84a48a48d1d0a6654e3bd0b22a;hb=3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1;hpb=6ea263b1f141614e7693a38b13e8f368237760a2 diff --git a/daemon/Makefile.am b/daemon/Makefile.am index ee1959f..8fb070f 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -45,13 +45,12 @@ BUILT_SOURCES = \ EXTRA_DIST = $(BUILT_SOURCES) \ .gitignore -# This convenience library is solely to avoid compiler warnings -# in its generated sources. noinst_LIBRARIES = libprotocol.a -libprotocol_a_SOURCES = \ - guestfs_protocol.c \ - guestfs_protocol.h -libprotocol_a_CFLAGS = + +# This convenience library is solely to compile its generated sources with +# custom flags. +libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h +libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing guestfs_protocol.c: $(libsrcdir)/guestfs_protocol.c rm -f $@