lzma: repair build
authorVincent <vincent.stehle@laposte.net>
Wed, 3 Dec 2014 21:02:29 +0000 (22:02 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Jan 2015 16:56:59 +0000 (17:56 +0100)
commitb07b14a130f37a09d92a63ad22a16bdd61a1f8e0
tree64d129940b10791fe59bb0c6f9cb7d65d7b16ccf
parent20d1d8be0f701391d1581bc69bbab7b071db358e
lzma: repair build

The build of host-lzma is broken since commit 97703978ac870ce2
("support/libtool: make -static behave like -all-static").

Lzma forces '-static' in its LDFLAGS, which contradicts what buildroot tries to
achieve by patching libtool scripts and configuring host packages with
'--disable-static'.

We add a patch to remove lzma's hardcoded LDFLAGS, to fix the build.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lzma/lzma-0001-Remove-static-from-LDFLAGS.patch [new file with mode: 0644]