build: Disable debugging code in stable releases

Pretty much what GLib and GTK+ do, and the 1.x cycle has gone on for a
while, now.
This commit is contained in:
Emmanuele Bassi 2013-03-08 15:35:21 +00:00
parent 9618f37b1d
commit 197eae2e00

View File

@ -829,7 +829,7 @@ AS_CASE([$enable_debug],
],
[minimum],
[CLUTTER_DEBUG_CFLAGS="-DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"],
[CLUTTER_DEBUG_CFLAGS="-DG_DISABLE_CAST_CHECKS"],
[no],
[CLUTTER_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"],