1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/liblzma/lzma
Lasse Collin f42ee98166 Build system fixes
Don't use libtool convenience libraries to avoid recently
discovered long-standing subtle but somewhat severe bugs
in libtool (at least 1.5.22 and 2.2.6 are affected). It
was found when porting XZ Utils to Windows
<http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
but the problem is significant also e.g. on GNU/Linux.

Unless --disable-shared is passed to configure, static
library built from a set of convenience libraries will
contain PIC objects. That is, while libtool builds non-PIC
objects too, only PIC objects will be used from the
convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
using PIC instead of non-PIC makes the decompressor 10 % slower
with the default CFLAGS.

So while xz was linked against static liblzma by default,
it got the slower PIC objects unless --disable-shared was
used. I tend develop and benchmark with --disable-shared
due to faster build time, so I hadn't noticed the problem
in benchmarks earlier.

This commit also adds support for building Windows resources
into liblzma and executables.
2009-06-30 17:09:57 +03:00
..
fastpos.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
fastpos_table.c Revised the fastpos code. It now uses the slightly faster 2008-01-15 14:02:22 +02:00
fastpos_tablegen.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma2_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma2_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma2_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma2_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_encoder_optimum_fast.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_encoder_optimum_normal.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_encoder_presets.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
lzma_encoder_private.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
Makefile.inc Build system fixes 2009-06-30 17:09:57 +03:00