package/libtomcrypt: compile with -fPIC to enable linking to dynamic libraries/exectu...
authorPeter Seiderer <ps.report@gmx.net>
Sun, 2 May 2021 10:50:38 +0000 (12:50 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 4 May 2021 20:14:37 +0000 (22:14 +0200)
commitec2ee79ec18f945e15ca45471dc06c78a9cc1da1
treebe83873032c8668d81dfc43ac444d0ca68d59257
parentf01b0b1a3d321637466cbb9dacd65cd02797956a
package/libtomcrypt: compile with -fPIC to enable linking to dynamic libraries/exectuables

Fixes:

  .../x86_64-buildroot-linux-gnu/bin/ld: .../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libtomcrypt.a(md5.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

when building a shared library that links with libtomcrypt. Our only
internal user dropbear doesn't do this, so there are no autobuilder
failures.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libtomcrypt/libtomcrypt.mk