From: Jim Meyering Date: Thu, 20 Aug 2009 11:56:47 +0000 (+0200) Subject: fish/: enable -Werror and all of gcc's warning options X-Git-Tag: 1.0.69~39 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=89c3e552e311744c4a26194b48c07c5bd2d9dd83;p=libguestfs.git fish/: enable -Werror and all of gcc's warning options * fish/Makefile.am: Use $(WARN_CFLAGS) $(WERROR_CFLAGS). --- diff --git a/fish/Makefile.am b/fish/Makefile.am index 5bf3fbd..94bf757 100644 --- a/fish/Makefile.am +++ b/fish/Makefile.am @@ -51,8 +51,8 @@ BUILT_SOURCES = \ guestfish_CFLAGS = \ -I$(top_srcdir)/src -I$(top_builddir)/src \ -I$(top_srcdir)/fish -I$(top_builddir)/fish \ - -Wall \ - -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' + -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) guestfish_LDADD = $(top_builddir)/src/libguestfs.la $(LIBREADLINE)