summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2023-06-29 10:17:09 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-07-05 23:46:19 -0400
commit0cc4d01dcbcaf1aa880b4ccc55c46b9ed343bef4 (patch)
tree10c871f5eae239aac7674ac2f24f04b03ee4bb9d /recipes-networking/openvswitch/openvswitch-git/disable_m4_check.patch
parent3ce3ef94866483aecd10dce426c8ac91602339f2 (diff)
downloadmeta-virtualization-0cc4d01dcbcaf1aa880b4ccc55c46b9ed343bef4.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/disable_m4_check.patch')
0 files changed, 0 insertions, 0 deletions