From: Kai Kang <[email protected]> It misses a backslash in sed expression and causes warning when run do_compile:
| sed: -e expression #1, char 35: Unmatched ) or \) Signed-off-by: Kai Kang <[email protected]> --- recipes-containers/kubernetes/kubernetes_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb index e165ebe..1ba52b6 100644 --- a/recipes-containers/kubernetes/kubernetes_git.bb +++ b/recipes-containers/kubernetes/kubernetes_git.bb @@ -50,7 +50,7 @@ do_compile() { export CGO_CFLAGS="${BUILD_CFLAGS}" # as of go 1.15.5, there are some flags the CGO doesn't like. Rather than # clearing them all, we sed away the ones we don't want. - export CGO_LDFLAGS="$(echo ${BUILD_LDFLAGS} | sed 's/-Wl,-O1//g' | sed 's/-Wl,--dynamic-linker.*?( \|$\)//g')" + export CGO_LDFLAGS="$(echo ${BUILD_LDFLAGS} | sed 's/-Wl,-O1//g' | sed 's/-Wl,--dynamic-linker.*?\( \|$\)//g')" export CC="${BUILD_CC}" export LD="${BUILD_LD}" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6793): https://lists.yoctoproject.org/g/meta-virtualization/message/6793 Mute This Topic: https://lists.yoctoproject.org/mt/85875924/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
