summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-20 13:56:47 +0200
committerJim Meyering <meyering@redhat.com>2009-08-21 15:24:29 +0200
commit89c3e552e311744c4a26194b48c07c5bd2d9dd83 (patch)
tree7674b7af62b5906b39aff858f5a23fe235c41da0
parent33687dfaa00658a602180f3afcebe9552804a048 (diff)
downloadlibguestfs-89c3e552e311744c4a26194b48c07c5bd2d9dd83.tar.gz
libguestfs-89c3e552e311744c4a26194b48c07c5bd2d9dd83.tar.xz
libguestfs-89c3e552e311744c4a26194b48c07c5bd2d9dd83.zip
fish/: enable -Werror and all of gcc's warning options
* fish/Makefile.am: Use $(WARN_CFLAGS) $(WERROR_CFLAGS).
-rw-r--r--fish/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/Makefile.am b/fish/Makefile.am
index 5bf3fbd1..94bf7570 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)