[Buildroot] [PATCH v4] lmbench: fix build with libtirpc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 6 11:55:56 UTC 2015


Dear Baruch Siach,

On Fri,  6 Mar 2015 12:10:50 +0200, Baruch Siach wrote:
> When linking with an external libtirpc, -ltirpc must come after lmbench.a in
> the linker command line. Use LDLIBS for that.
> 
> Fixes:
> http://autobuild.buildroot.net/results/89e/89ee35561d3a49f38e9a747ed78a5846be4764c8/
> http://autobuild.buildroot.net/results/409/4097b1c2585db2de517a8741174c02177aabee00/
> 
> and more.
> 
> Also, remove LMBENCH_LDLIBS assignment. This variable was not used before.
> 
> Reviewed-by: Fabio Porcedda <fabio.porcedda at gmail.com>
> Tested-by: Fabio Porcedda <fabio.porcedda at gmail.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>

Applied, thanks!

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


More information about the buildroot mailing list