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

Fabio Porcedda fabio.porcedda at gmail.com
Fri Mar 6 09:56:08 UTC 2015


On Fri, Mar 6, 2015 at 10:43 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> When linking with an external libtirpc, -ltirpc must come after lmbench.a in
> the linker command line. Use LDLIBS for that.

Maybe just add a note about the removing of TARGET_LDFLAGS, e.g.:

Also remove TARGET_LDFLAGS because.....

> Fixes:
> http://autobuild.buildroot.net/results/89e/89ee35561d3a49f38e9a747ed78a5846be4764c8/
> http://autobuild.buildroot.net/results/409/4097b1c2585db2de517a8741174c02177aabee00/
>
> and more.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>

With the above note  added:
Reviewed-by: Fabio Porcedda <fabio.porcedda at gmail.com>
Tested-by: Fabio Porcedda <fabio.porcedda at gmail.com>
[test: Fix the build failure with the following "defconfig":
BR2_STATIC_LIBS=y
BR2_PACKAGE_LMBENCH=y]

Thanks
-- 
Fabio Porcedda


More information about the buildroot mailing list