diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-07-19 14:32:45 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-07-19 14:32:45 +0100 |
commit | c79ba93f7e53f6a62b5793ba35f1c3b13527eef6 (patch) | |
tree | 529239073b04326b91e015625d63cbc9f16ed186 /java | |
parent | d8140d5689e49d926e5e1a53ec685088dec19a6d (diff) | |
download | libguestfs-c79ba93f7e53f6a62b5793ba35f1c3b13527eef6.tar.gz libguestfs-c79ba93f7e53f6a62b5793ba35f1c3b13527eef6.tar.xz libguestfs-c79ba93f7e53f6a62b5793ba35f1c3b13527eef6.zip |
java: Enable warnings when compiling C bindings code.
And fix the code so it doesn't generate warnings.
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 |