Bryan Roessler 98cc65d9a0 tools/zstd: enable position independent code compilation
Currently, trying to compile LLVM-BPF will fail with:
[2225/3517] Linking CXX shared library lib/libLLVM-15.so
FAILED: lib/libLLVM-15.so
/usr/bin/ld: staging_dir/host/lib/libzstd.a(zstd_common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status

So, to fix it enable PIC for the host ZSTD.

Fixes: #15247
Signed-off-by: Bryan Roessler <bryanroessler@gmail.com>
2024-04-24 12:16:48 +02:00
..
2023-09-19 20:21:33 +02:00
2024-04-06 11:24:18 +02:00
2024-04-06 11:24:18 +02:00
2023-12-08 16:28:40 +01:00
2022-10-22 22:50:37 +02:00
2024-04-06 11:24:18 +02:00
2024-04-03 18:56:58 +02:00
2024-04-06 11:24:18 +02:00
2024-01-25 16:06:49 +01:00
2024-04-06 11:24:18 +02:00
2024-04-06 11:24:18 +02:00
2024-04-06 11:24:18 +02:00
2023-09-19 20:21:33 +02:00
2024-04-06 11:24:18 +02:00
2023-09-19 20:21:33 +02:00
2023-09-19 20:21:33 +02:00
2023-01-16 23:51:10 +00:00
2024-04-06 11:24:18 +02:00
2024-03-29 23:42:22 +01:00
2022-03-01 00:08:08 +01:00
2024-04-16 21:52:57 +02:00
2024-04-06 11:24:18 +02:00
2023-04-08 15:51:32 +02:00
2023-01-24 23:13:25 +01:00
2024-04-06 11:24:18 +02:00
2020-09-02 16:29:22 +02:00
2023-04-29 17:37:45 +02:00
2024-04-06 11:24:18 +02:00
2022-02-25 14:12:39 +01:00
2024-04-06 11:24:18 +02:00
2024-04-06 11:24:18 +02:00
2021-09-20 15:21:17 +02:00
2024-04-06 11:24:18 +02:00
2023-09-19 20:21:33 +02:00
2024-04-06 11:24:18 +02:00
2024-04-06 11:24:18 +02:00