package/numactl: needs -fPIC
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 14 Nov 2020 22:11:24 +0000 (23:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 16 Nov 2020 20:29:58 +0000 (21:29 +0100)
commit6fe0298eecb50a5145bc20411af24dc22cfcf861
treeec100d7d5cfb79b9b50c96829b4d6e54d9cfd94e
parent0901355c11f051846744a12f9b2044a751faa47a
package/numactl: needs -fPIC

This will avoid the following build failure with qemu 5.0.0 and above:

/srv/storage/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-2/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/lib/../lib64/libnuma.a(libnuma.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC

Fixes:
 - http://autobuild.buildroot.org/results/616dff216a215dc0494c846d337e03e0795b2fb2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/numactl/numactl.mk