summaryrefslogtreecommitdiffstats
path: root/ocaml
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-24 11:39:42 +0200
committerJim Meyering <meyering@redhat.com>2009-08-27 13:23:52 +0200
commite933691fd1c1a5543c05fcd209ce57daf6cac4f7 (patch)
tree06e57cf1edf9cb7f0e26107129bf522174a978cd /ocaml
parent4125126085bd81bf96efc2cdbdec0f5596c6c9e8 (diff)
downloadlibguestfs-e933691fd1c1a5543c05fcd209ce57daf6cac4f7.tar.gz
libguestfs-e933691fd1c1a5543c05fcd209ce57daf6cac4f7.tar.xz
libguestfs-e933691fd1c1a5543c05fcd209ce57daf6cac4f7.zip
build: enable gcc warnings in capitests/ and ocaml/
* capitests/Makefile.am: Use $(WARN_CFLAGS) and $(WERROR_CFLAGS). * ocaml/Makefile.am:: Likewise.
Diffstat (limited to 'ocaml')
-rw-r--r--ocaml/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index d65ebaaf..462404c1 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -29,7 +29,8 @@ CLEANFILES = *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so
CLEANFILES += t/*.cmi t/*.cmo t/*.cmx t/*.o t/*.a t/*.so
AM_CPPFLAGS = -I$(top_builddir) -I$(OCAMLLIB) -I$(top_srcdir)/ocaml \
- -I$(top_srcdir)/src -I$(top_builddir)/src
+ -I$(top_srcdir)/src -I$(top_builddir)/src \
+ $(WARN_CFLAGS) $(WERROR_CFLAGS)
if HAVE_OCAML