summaryrefslogtreecommitdiff
path: root/neon
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-05 14:20:55 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-05 19:45:19 +0200
commit712ef1617791a0f4214f8978484f5be11678aab6 (patch)
tree9e7909836a5ec70d297c85df74acb630018dc8b8 /neon
parent5dc729cae00e6ea35f5dde13eba89434be2d7dc5 (diff)
Turn on NE_DEBUGGING in a debug build
Change-Id: I9ca6ea16868fd41c5547fdca547184bf73e134e1
Diffstat (limited to 'neon')
-rw-r--r--neon/Library_neon.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/neon/Library_neon.mk b/neon/Library_neon.mk
index 89ac0928ef37..80424fe21058 100644
--- a/neon/Library_neon.mk
+++ b/neon/Library_neon.mk
@@ -26,6 +26,12 @@ $(eval $(call gb_Library_add_cflags,neon,\
-w \
))
+ifneq ($(debug),)
+$(eval $(call gb_Library_add_cflags,neon,\
+ -DNE_DEBUGGING \
+))
+endif
+
$(eval $(call gb_Library_set_warnings_not_errors,neon))
$(eval $(call gb_Library_add_generated_cobjects,neon,\