summaryrefslogtreecommitdiff
path: root/gthread
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-02-26 11:19:51 -0500
committerColin Walters <walters@verbum.org>2013-02-27 08:34:01 -0500
commit156b14cde5423c5bdaf8f28f1a8a5a0b54fbe455 (patch)
treee59907060a99e5a250b6d52e9b606149d5c1211e /gthread
parente3582c617cf00f3c90b6448d11cf253933a28802 (diff)
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
Diffstat (limited to 'gthread')
-rw-r--r--gthread/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index 2aa507827..9132be631 100644
--- a/gthread/Makefile.am
+++ b/gthread/Makefile.am
@@ -7,6 +7,8 @@ AM_CPPFLAGS = \
@GTHREAD_COMPILE_IMPL_DEFINES@ \
@GLIB_DEBUG_FLAGS@
+AM_CFLAGS = $(GLIB_WARN_CFLAGS)
+
EXTRA_DIST += \
makefile.msc.in \
gthread.def \