diff options
-rw-r--r-- | capitests/Makefile.am | 3 | ||||
-rw-r--r-- | ocaml/Makefile.am | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/capitests/Makefile.am b/capitests/Makefile.am index 361c6a35..3b80c0e2 100644 --- a/capitests/Makefile.am +++ b/capitests/Makefile.am @@ -24,7 +24,8 @@ EXTRA_DIST = \ check_PROGRAMS = tests test-command tests_SOURCES = tests.c -tests_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -Wall +tests_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) tests_LDADD = $(top_builddir)/src/libguestfs.la # Old version of e2fsprogs which didn't support UUIDs? 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 |