summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-05-07 14:37:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-05-07 17:42:02 +0200
commit9801268a0f946dce6d1893369fc761a796c18156 (patch)
treeb25ab9f03e49b0db8a7a89b8d4f6c01e8cd16b92
parent7a8ed362eb163ac15a000ba1cfc74b58315800a1 (diff)
Pass --enable-debug into external/libwps
Change-Id: Ib36fc7ad118abf8529ca1fe17d1054f33edb094e Reviewed-on: https://gerrit.libreoffice.org/53938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--external/libwps/ExternalProject_libwps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libwps/ExternalProject_libwps.mk b/external/libwps/ExternalProject_libwps.mk
index ba1e1a646592..1acb12958e43 100644
--- a/external/libwps/ExternalProject_libwps.mk
+++ b/external/libwps/ExternalProject_libwps.mk
@@ -32,7 +32,7 @@ $(call gb_ExternalProject_get_state_target,libwps,build) :
--with-sharedptr=c++11 \
--without-docs \
--disable-tools \
- --disable-debug \
+ $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
--disable-werror \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \