summaryrefslogtreecommitdiffstats
path: root/external/libnumbertext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-13 08:04:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-13 09:40:09 +0100
commit1b843d6ea39e23f4a5e34438b283afc85afc0e9e (patch)
treefb71dc54b36914213fcb7739bb696a10e3aaea24 /external/libnumbertext
parentLibrary_xsec_xmlsec: one dll implementation macro is enough (diff)
downloadcore-1b843d6ea39e23f4a5e34438b283afc85afc0e9e.tar.gz
core-1b843d6ea39e23f4a5e34438b283afc85afc0e9e.zip
Pass --en-/disable-werror into external/libnumbertext
(which otherwise always defaults to --enable-werror) Change-Id: I928277cec62dd36da0b18eb622ee91c176c9ccc6 Reviewed-on: https://gerrit.libreoffice.org/65072 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/libnumbertext')
-rw-r--r--external/libnumbertext/ExternalProject_libnumbertext.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/libnumbertext/ExternalProject_libnumbertext.mk b/external/libnumbertext/ExternalProject_libnumbertext.mk
index b12012e16577..679772700aad 100644
--- a/external/libnumbertext/ExternalProject_libnumbertext.mk
+++ b/external/libnumbertext/ExternalProject_libnumbertext.mk
@@ -34,6 +34,7 @@ $(call gb_ExternalProject_get_state_target,libnumbertext,build):
LIBS="$(gb_STDLIBS) $(LIBS)" \
$(SHELL) ./configure --disable-shared --with-pic \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
+ $(if $(ENABLE_WERROR),--enable-werror,--disable-werror) \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\
$(if $(filter AIX,$(OS)),CFLAGS="-D_LINUX_SOURCE_COMPAT") \
$(if $(libnumbertext_CPPFLAGS),CPPFLAGS='$(libnumbertext_CPPFLAGS)') \