package/aespipe: fix host compile
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 17 Dec 2016 07:16:59 +0000 (08:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 17 Dec 2016 08:19:24 +0000 (09:19 +0100)
commitcb33a7d6bd89306635749b497cd004e986bcd7e5
tree21def763ffd4b8e94c4daad0446258255a1b1baf
parentc2c31fbeebc53611bf9a975cd9a18659d1236aa2
package/aespipe: fix host compile

Building host-aespipe fails on

$ cat /etc/debian_version
stretch/sid

at linking stage:

/usr/bin/gcc -L/home/buildroot/br6/output/host/lib -L/home/buildroot/br6/output/host/usr/lib -Wl,-rpath,/home/buildroot/br6/output/host/usr/lib -o aespipe aespipe.o aes-amd64.o md5-amd64.o md5-2x-amd64.o aes-intel64.o sha512.o rmd160.o
/usr/bin/ld: aes-amd64.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC

Fix is also used in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837393

[Peter: add comment explaining why]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/aespipe/aespipe.mk