X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=42cc906e0a59133e8773635adb28f4af7b1e9548;hb=62f9e408b4da415448178ad81bf4b2f4e51361b0;hp=3e1201d112a432d9f6ed236f0d88da9b51d310e0;hpb=4e0cf4dbf8a8a96288f70114fdc3939da0aa7ad1;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index 3e1201d..42cc906 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,13 +52,10 @@ include_HEADERS = guestfs.h lib_LTLIBRARIES = libguestfs.la -# This convenience library is solely to avoid compiler warnings -# in its generated sources. -libprotocol_la_SOURCES = \ - guestfs_protocol.c \ - guestfs_protocol.h - -libprotocol_la_CFLAGS = +# This convenience library is solely to compile its generated sources with +# custom flags. +libprotocol_la_SOURCES = guestfs_protocol.c guestfs_protocol.h +libprotocol_la_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing # Build the errnostring perfect hash code. The generated code has lots # of warnings so we must compile it in a separate mini-library.