summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-05 14:13:16 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-05 14:13:16 +0300
commitf9907503f882a745dce9d84c2968f6c175ba966a (patch)
treea8a22c6a4da420044c972cc384d27ca0bf8133e2 /debug
parentfda4724d8114fccfa31c1839c15479f350c2fb4c (diff)
downloadxz-f9907503f882a745dce9d84c2968f6c175ba966a.tar.gz
Build: Remove the static/dynamic tricks.
Most distros want xz linked against shared liblzma, so it doesn't help much to require --enable-dynamic for that. Those who want to avoid PIC on x86-32 to get better performance, can still do it e.g. by using --disable-shared to compile xz and then another pass to compile shared liblzma. Part of these static/dynamic tricks were needed for Windows in the past. Nowadays we rely on GCC and binutils to do the right thing with auto-import. If the Autotooled build system needs to support some other toolchain on Windows in the future, this may need some rethinking.
Diffstat (limited to 'debug')
-rw-r--r--debug/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/debug/Makefile.am b/debug/Makefile.am
index 23834f4..45b4b7f 100644
--- a/debug/Makefile.am
+++ b/debug/Makefile.am
@@ -16,10 +16,7 @@ noinst_PROGRAMS = \
AM_CPPFLAGS = \
-I$(top_srcdir)/src/common \
- -I$(top_srcdir)/src/liblzma/api \
- $(STATIC_CPPFLAGS)
-
-AM_LDFLAGS = $(STATIC_LDFLAGS)
+ -I$(top_srcdir)/src/liblzma/api
LDADD = $(top_builddir)/src/liblzma/liblzma.la