mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
tests: disable deprecation warnings for tests
We need to test deprecated functions, so don't warn us for doing so.
This commit is contained in:
parent
3ebdb4d46a
commit
fd382156b8
@ -4,6 +4,7 @@ SUBDIRS=gobject refcount
|
|||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
$(gmodule_INCLUDES) \
|
$(gmodule_INCLUDES) \
|
||||||
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
||||||
$(GLIB_DEBUG_FLAGS)
|
$(GLIB_DEBUG_FLAGS)
|
||||||
|
|
||||||
AM_CFLAGS = -g
|
AM_CFLAGS = -g
|
||||||
|
@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl
|
|||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
$(gmodule_INCLUDES) \
|
$(gmodule_INCLUDES) \
|
||||||
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
||||||
$(GLIB_DEBUG_FLAGS)
|
$(GLIB_DEBUG_FLAGS)
|
||||||
|
|
||||||
libglib = $(top_builddir)/glib/libglib-2.0.la
|
libglib = $(top_builddir)/glib/libglib-2.0.la
|
||||||
|
@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl
|
|||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
$(gmodule_INCLUDES) \
|
$(gmodule_INCLUDES) \
|
||||||
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
||||||
$(GLIB_DEBUG_FLAGS)
|
$(GLIB_DEBUG_FLAGS)
|
||||||
|
|
||||||
libglib = $(top_builddir)/glib/libglib-2.0.la
|
libglib = $(top_builddir)/glib/libglib-2.0.la
|
||||||
|
Loading…
Reference in New Issue
Block a user