X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=38e3f037e1af71b2d156c887d7a379beb0956b76;hb=c018c39cc9dfe2d7bf923a87d5c71e96654499ba;hp=2b9c49bab21ac5e4d02501498af189eb816a58dd;hpb=8e4c22db236f08f836a8ab94c8bb025d727684b5;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index 2b9c49b..38e3f03 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.