summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_ucalc.mk
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-05-23 22:09:40 -0400
committerKohei Yoshida <libreoffice@kohei.us>2017-06-06 05:00:33 +0200
commita078328e91ab9cbd78a92608c1abdc2c57ff9ac5 (patch)
tree2d5dbb6ef9456e2ce5fe256f3a0ac76bdbccec49 /sc/CppunitTest_sc_ucalc.mk
parent59c0682c46e52aa18bdbee4c14ef05af9329de33 (diff)
tdf#107945: prepare for future multi-threading of pivot cache...
It's disabled for now. We need to first make the edit engine and a few other places thread-safe before we can parallelize this code. Change-Id: Ie09536964ece42d43f505afc5e2611d469cc5c95 Reviewed-on: https://gerrit.libreoffice.org/38424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/CppunitTest_sc_ucalc.mk')
-rw-r--r--sc/CppunitTest_sc_ucalc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk
index 5e91862f416c..d918182a0c4f 100644
--- a/sc/CppunitTest_sc_ucalc.mk
+++ b/sc/CppunitTest_sc_ucalc.mk
@@ -112,6 +112,12 @@ $(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\
))
endif
+ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
+$(eval $(call gb_CppunitTest_add_libs,sc_ucalc,\
+ -lpthread \
+))
+endif
+
$(eval $(call gb_CppunitTest_use_configuration,sc_ucalc))
# vim: set noet sw=4 ts=4: