[Buildroot] [PATCH] lzma: repair build

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 3 21:22:18 UTC 2014


Dear Vincent Stehlé,

On Wed,  3 Dec 2014 22:02:29 +0100, Vincent Stehlé wrote:
> 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 at laposte.net>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Do you think this patch could be submitted upstream to lzma? It really
doesn't make sense for them to force static linking.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list