board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / lzma / 0001-Remove-static-from-LDFLAGS.patch
blob9a33e44b8d8cc385dc3cb4c7316a9c121c0d026a
1 From 1b33f6d13e5c25a2500ee312068c08a3d3811a5f Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@laposte.net>
3 Date: Wed, 3 Dec 2014 21:32:02 +0100
4 Subject: [PATCH] Remove -static from LDFLAGS
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Buildroot does not enable static libraries by default for host builds. Having
10 -static hardcoded in the LDFLAGS breaks the build, so remove it.
12 Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
13 ---
14 src/lzmadec/Makefile.am | 1 -
15 src/lzmadec/Makefile.in | 1 -
16 src/lzmainfo/Makefile.am | 1 -
17 src/lzmainfo/Makefile.in | 1 -
18 4 files changed, 4 deletions(-)
20 diff --git a/src/lzmadec/Makefile.am b/src/lzmadec/Makefile.am
21 index 7322b2a..13edec8 100644
22 --- a/src/lzmadec/Makefile.am
23 +++ b/src/lzmadec/Makefile.am
24 @@ -2,6 +2,5 @@ bin_PROGRAMS = lzmadec
25 lzmadec_SOURCES = lzmadec.c
26 lzmadec_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la
27 AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec
28 -AM_LDFLAGS = -static
30 dist_man_MANS = lzmadec.1
31 diff --git a/src/lzmadec/Makefile.in b/src/lzmadec/Makefile.in
32 index 5af9240..4ed1de1 100644
33 --- a/src/lzmadec/Makefile.in
34 +++ b/src/lzmadec/Makefile.in
35 @@ -185,7 +185,6 @@ top_srcdir = @top_srcdir@
36 lzmadec_SOURCES = lzmadec.c
37 lzmadec_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la
38 AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec
39 -AM_LDFLAGS = -static
40 dist_man_MANS = lzmadec.1
41 all: all-am
43 diff --git a/src/lzmainfo/Makefile.am b/src/lzmainfo/Makefile.am
44 index b5b01ec..e280bff 100644
45 --- a/src/lzmainfo/Makefile.am
46 +++ b/src/lzmainfo/Makefile.am
47 @@ -2,6 +2,5 @@ bin_PROGRAMS = lzmainfo
48 lzmainfo_SOURCES = lzmainfo.c
49 lzmainfo_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la
50 AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec
51 -AM_LDFLAGS = -static
53 dist_man_MANS = lzmainfo.1
54 diff --git a/src/lzmainfo/Makefile.in b/src/lzmainfo/Makefile.in
55 index 6a2127a..f1f3441 100644
56 --- a/src/lzmainfo/Makefile.in
57 +++ b/src/lzmainfo/Makefile.in
58 @@ -185,7 +185,6 @@ top_srcdir = @top_srcdir@
59 lzmainfo_SOURCES = lzmainfo.c
60 lzmainfo_LDADD = @top_builddir@/src/liblzmadec/liblzmadec.la
61 AM_CPPFLAGS = -I@top_srcdir@/src/liblzmadec
62 -AM_LDFLAGS = -static
63 dist_man_MANS = lzmainfo.1
64 all: all-am
66 --
67 2.1.3