diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-09-27 10:27:19 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2011-09-27 10:27:19 +0100 |
commit | 5aab8a231090f10ff8de8e40c6fff38e50084655 (patch) | |
tree | 196d60173e077c1684c6caa054821e28102f16be /cogl-pango | |
parent | 34181d34f523bb4f54ad1d287fd98278622c17f2 (diff) | |
download | cogl-5aab8a231090f10ff8de8e40c6fff38e50084655.tar.gz |
Add an option to avoid defining G_DISABLE_DEPRECATED
G_DISABLE_DEPRECATED is only intended for developers of Cogl and it
sometimes breaks the build for people just trying to build a
release. This patch adds an option to enable deprecated Glib
features. By default it is enabled for non-git versions of Cogl.
The patch is based on similar code in Clutter except it adds the flags
to COGL_EXTRA_CFLAGS instead of having a separate variable.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl-pango')
-rw-r--r-- | cogl-pango/Makefile.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cogl-pango/Makefile.am b/cogl-pango/Makefile.am index 9f0525ea..6917c1cd 100644 --- a/cogl-pango/Makefile.am +++ b/cogl-pango/Makefile.am @@ -37,7 +37,6 @@ libcogl_pango_la_LDFLAGS = \ -version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ INCLUDES = \ - -DG_DISABLE_SINGLE_INCLUDES \ -DCLUTTER_COMPILATION \ -DG_LOG_DOMAIN=\"CoglPango\" \ -I$(top_srcdir)/cogl \ |