diff --git a/tests/Makefile.am b/tests/Makefile.am index 59d02a7f0..3d7705af2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,8 +2,9 @@ include $(top_srcdir)/Makefile.decl SUBDIRS=gobject refcount -AM_CPPFLAGS = \ - $(gmodule_INCLUDES) \ +AM_CPPFLAGS = \ + $(gmodule_INCLUDES) \ + -DGLIB_DISABLE_DEPRECATION_WARNINGS \ $(GLIB_DEBUG_FLAGS) AM_CFLAGS = -g diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am index 0ab5bf64c..fcb4e2348 100644 --- a/tests/gobject/Makefile.am +++ b/tests/gobject/Makefile.am @@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl INCLUDES = \ $(gmodule_INCLUDES) \ + -DGLIB_DISABLE_DEPRECATION_WARNINGS \ $(GLIB_DEBUG_FLAGS) libglib = $(top_builddir)/glib/libglib-2.0.la diff --git a/tests/refcount/Makefile.am b/tests/refcount/Makefile.am index f904c1f77..1c7d71648 100644 --- a/tests/refcount/Makefile.am +++ b/tests/refcount/Makefile.am @@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl INCLUDES = \ $(gmodule_INCLUDES) \ + -DGLIB_DISABLE_DEPRECATION_WARNINGS \ $(GLIB_DEBUG_FLAGS) libglib = $(top_builddir)/glib/libglib-2.0.la