python: Enable C compiler warnings.

This commit is contained in:
Richard W.M. Jones
2012-12-15 18:06:11 +00:00
parent 62e775c350
commit 1571aef9cc
4 changed files with 17 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ python_LTLIBRARIES = libguestfsmod.la
libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c
libguestfsmod_la_CFLAGS = \
-DGUESTFS_PRIVATE_FUNCTIONS=1 \
-Wall \
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
-I$(PYTHON_INCLUDEDIR) \
-I$(top_srcdir)/src -I$(top_builddir)/src
libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la