diff options
author | Jan-Marek Glogowski <jan-marek.glogowski@extern.cib.de> | 2020-02-07 10:05:27 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-02-07 13:12:08 +0100 |
commit | 5c89198f69f4487b1c872269ec6f2931490b3d02 (patch) | |
tree | 6513041b5cf072e96677f1551bd2278c0e7fe288 /external | |
parent | 9b8180dfb71e139d78be487967f741e1f9f46d51 (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>
Diffstat (limited to 'external')
-rw-r--r-- | external/neon/Library_neon.mk | 6 |
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: |