[gnome-epub-thumbnailer] build: Add warning CFLAGS



commit 43a614aa3c635e0d9ff88c5bb00e8e997204963f
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jul 13 11:03:45 2013 +0200

    build: Add warning CFLAGS

 Makefile.am  |    2 +-
 configure.ac |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 752491f..5a7bb5c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
 bin_PROGRAMS = gnome-epub-thumbnailer
 
 gnome_epub_thumbnailer_SOURCES = gnome-epub-thumbnailer.c
-gnome_epub_thumbnailer_CPPFLAGS = $(THUMBNAILER_CFLAGS)
+gnome_epub_thumbnailer_CPPFLAGS = $(THUMBNAILER_CFLAGS) $(WARN_CFLAGS)
 gnome_epub_thumbnailer_LDADD = $(THUMBNAILER_LIBS)
 
 thumbnailerdir = $(datadir)/thumbnailers/
diff --git a/configure.ac b/configure.ac
index 6912fc8..d77afc3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,8 @@ AC_PROG_INSTALL
 AC_PROG_SED
 AM_PROG_CC_C_O
 
+GNOME_COMPILE_WARNINGS([maximum])
+
 PKG_CHECK_MODULES(THUMBNAILER, gdk-pixbuf-2.0 gio-2.0 libarchive libxml-2.0)
 
 AC_CONFIG_FILES([Makefile])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]