diff options
author | Changqing Li <changqing.li@windriver.com> | 2024-04-30 14:17:33 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-05-02 17:59:55 +0000 |
commit | b50d4899faf19c54df4c24332514c1eed0a71e12 (patch) | |
tree | 6bd784ed38639e0c70163d4615157bb67d6f489c /scripts/lib | |
parent | 74455bb615443ee8ee85b7ac76f45d771940d87e (diff) | |
download | meta-virtualization-b50d4899faf19c54df4c24332514c1eed0a71e12.tar.gz |
kubernetes: skip textrel QA warning
-buildmode=pie need cgo is enabled, but for kubernetes, some build
targets are static, and cgo is disable in build script directly, refer
[1]. If we add -buildmode=pie by default, will cause these static target
build failed with error "-buildmode=pie requires external (cgo) linking,
but cgo is not enabled".
This warning is acceptable, so just skip it.
[1] https://github.com/kubernetes/kubernetes/blob/master/hack/lib/golang.sh#L811
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions