aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-14 16:00:52 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-14 16:00:52 +0200
commiteb0f1450ad9f23dac03050d9c8375980240aee21 (patch)
tree2ccb523dc0277999d3629bad18e0c2e819d33b64 /INSTALL
parentTranslations: Update the Romanian translation. (diff)
downloadxz-eb0f1450ad9f23dac03050d9c8375980240aee21.tar.xz
liblzma: Use __attribute__((__constructor__)) if available.
This uses it for CRC table initializations when using --disable-small. It avoids mythread_once() overhead. It also means that then --disable-small --disable-threads is thread-safe if this attribute is supported.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL4
1 files changed, 3 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index a6c0551f..2c94ecea 100644
--- a/INSTALL
+++ b/INSTALL
@@ -456,7 +456,9 @@ XZ Utils Installation
no Disable threading support. This is the
same as using --disable-threads.
- NOTE: If combined with --enable-small, the
+ NOTE: If combined with --enable-small
+ and the compiler doesn't support
+ __attribute__((__constructor__)), the
resulting liblzma won't be thread safe,
that is, if a multi-threaded application
calls any liblzma functions from more than