From d11cb2ea0abfca4a5958ff4647f22a5b203113e5 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Mon, 29 Oct 2018 16:21:15 +0800 Subject: go 1.9/1.11: fix textrel qa warning for non mips arch While building go itself, the go build system does not support to set `-buildmode=pie' from environment. Add GOBUILDMODE to support it which make PIE executables the default build mode, as PIE executables are required as of Yocto But mips doesn't support -buildmode=pie, so skip the QA checking for mips and its variants Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-1.11.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/go/go-1.11.inc') diff --git a/meta/recipes-devtools/go/go-1.11.inc b/meta/recipes-devtools/go/go-1.11.inc index c02e4683b3..d626514ae6 100644 --- a/meta/recipes-devtools/go/go-1.11.inc +++ b/meta/recipes-devtools/go/go-1.11.inc @@ -15,6 +15,7 @@ SRC_URI += "\ file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \ file://0006-cmd-dist-separate-host-and-target-builds.patch \ file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ + file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ " SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch" -- cgit 1.2.3-korg