diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2023-07-07 10:44:24 +0200 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-07-11 19:06:28 +0000 |
| commit | 84f5cb62de4c639817ebd5534d240b9cf78a1b32 (patch) | |
| tree | 38a4010fb5460dd66e79875d27772ec95e355774 /recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch | |
| parent | a19092ce81339a129edce745522eebf577efc744 (diff) | |
| download | meta-virtualization-84f5cb62de4c639817ebd5534d240b9cf78a1b32.tar.gz | |
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>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch')
0 files changed, 0 insertions, 0 deletions
