meta-virtualization/recipes-networking
Chen Qi 84f5cb62de cni: fix textrel QA issue
When building cni, we get textrel QA issue like below:

  cni: ELF binary /usr/libexec/cni/macvlan has relocations in .text

The problem could be solved by adding '-buildmode=pie' to ${GO}.

In go.bbclass, this flag is added to GOBUILDFLAGS conditionally,
that is, if the arch is not mips nor riscv32, this '-buildmode=pie'
is added to GOBUILDFLAGS. So make use of that.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-07-11 19:06:28 +00:00
..
cni cni: fix textrel QA issue 2023-07-11 19:06:28 +00:00
netns netns: fix reproducible QA warnings 2022-09-13 16:21:06 -04:00
openvswitch ovs: update to 3.1.1 2023-04-21 11:34:42 -04:00
slirp libslirp: create virt variant 2023-01-10 17:02:07 -05:00
slirp4netns slirp4netns: Runtime recommend the tun kernel module 2022-07-15 17:11:58 -04:00