summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Marek Glogowski <jan-marek.glogowski@extern.cib.de>2020-02-07 10:05:27 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2022-01-27 13:27:03 +0100
commit1ed0feb0f1afbdc0d449a18883f505ee5c4de4a0 (patch)
tree3c64b9278f80d578af42a8d72e34a1abcbd06467
parent1d4d8e2d7ef01f0d7057e3fe32f936553c268663 (diff)
neon: enable NE_DEBUG support for gb_ENABLE_DBGUTIL
This builds NEON with its debugging / logging facility, if gb_ENABLE_DBGUTIL is set. This still has to be enabled in code by calling something like ne_debug_init(stderr, NE_DBG_XML) to enable and ne_debug_init(NULL, 0) to disable it again. Change-Id: I85ea1cb2bd9586072d5a12a1cb809dd8c76b37d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88171 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit 5c89198f69f4487b1c872269ec6f2931490b3d02)
-rw-r--r--external/neon/Library_neon.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/external/neon/Library_neon.mk b/external/neon/Library_neon.mk
index 0afd6f4eff81..4c034a3178fb 100644
--- a/external/neon/Library_neon.mk
+++ b/external/neon/Library_neon.mk
@@ -91,4 +91,10 @@ $(eval $(call gb_Library_add_libs,neon,\
))
endif
+ifneq (,$(gb_ENABLE_DBGUTIL))
+$(eval $(call gb_Library_add_cflags,neon,\
+ -DNE_DEBUGGING \
+))
+endif
+
# vim: set noet sw=4 ts=4: