build: Add --disable-compile-warnings

Some (broken) toolchains for example trip up
-Werror=missing-prototypes in system headers.  This patch allows
people to skip the formerly hardcoded "baseline" warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=694757
This commit is contained in:
Colin Walters
2013-02-26 11:19:51 -05:00
parent e3582c617c
commit 156b14cde5
9 changed files with 28 additions and 7 deletions

View File

@@ -30,6 +30,8 @@ AM_CPPFLAGS = \
-DGIO_COMPILATION \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
AM_CFLAGS = $(GLIB_WARN_CFLAGS)
lib_LTLIBRARIES = libgio-2.0.la
gdbus_headers = \