Skip to content
Commit cf2f41c2 authored by Baruch Siach's avatar Baruch Siach Committed by Thomas Petazzoni
Browse files

lmbench: fix build with libtirpc

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: default avatarFabio Porcedda <fabio.porcedda@gmail.com>
Tested-by: default avatarFabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent e55cddfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment