summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-02-09 18:49:31 +0100
committerLuboš Luňák <l.lunak@collabora.com>2021-02-10 17:23:26 +0100
commit85ed3a47ed8427f41081b5a579ad237c5720cbe8 (patch)
tree822f899e34ef8dcbedda06e3d7f2cb562d762c23 /sal/Library_sal.mk
parent0cc3c55fe696156dec116cde823258c20ca70a8e (diff)
use zlib crc32() rather our own implementation
They compute the same thing, only zlib can do it four bytes at once. Since crc32() is used when loading documents, with larger documents this is a difference than can be measured (not much, but a couple percent of loading time). And we already depend on zlib anyway. Change-Id: I65c5a1f050af717a5a2d6e334e216d42c4e4dbbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110651 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index fbc02f26d6da..d783c84e39e9 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -41,6 +41,7 @@ $(eval $(call gb_Library_use_libraries,sal,\
$(eval $(call gb_Library_use_externals,sal,\
dtoa \
valgrind \
+ zlib \
))
$(eval $(call gb_Library_use_system_win32_libs,sal,\