From 8f04797d094215abeb2ae4c3875837d798133183 Mon Sep 17 00:00:00 2001 From: Jari Tenhunen Date: Thu, 18 Mar 2010 18:44:12 +0000 Subject: [PATCH] define G_DISABLE_CAST_CHECKS for non-debug builds --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index fbea5e7..3e8d2ba 100755 --- a/debian/rules +++ b/debian/rules @@ -25,6 +25,9 @@ endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif +ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -DG_DISABLE_CAST_CHECKS +endif config.status: dh_testdir -- 1.7.9.5