diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/Makefile.am b/java/Makefile.am index 3a64b0eb..3ae11237 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -73,7 +73,10 @@ libguestfs_jni_la_SOURCES = \ libguestfs_jni_la_LIBADD = $(top_builddir)/src/libguestfs.la libguestfs_jni_la_LDFLAGS = -version-info $(JNI_VERSION_INFO) -libguestfs_jni_la_CFLAGS = -Wall -I$(top_srcdir)/src -I$(top_builddir)/src $(JNI_CFLAGS) +libguestfs_jni_la_CFLAGS = \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + -I$(top_srcdir)/src -I$(top_builddir)/src \ + $(JNI_CFLAGS) BUILT_SOURCES = com_redhat_et_libguestfs_GuestFS.h |