[oe-commits] [openembedded-core] 02/02: go: Disable for musl, at least for now

git at git.openembedded.org git at git.openembedded.org
Sat Mar 4 23:28:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 282df2bafe356d29518babef02bfb6926be94cbb
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Mar 4 23:26:24 2017 +0000

    go: Disable for musl, at least for now
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/go.bbclass               | 3 +++
 meta/recipes-devtools/go/go-cross.inc | 4 ++++
 meta/recipes-devtools/go/go.inc       | 3 +++
 3 files changed, 10 insertions(+)

diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index e6ea996..a3f7016 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -1,5 +1,8 @@
 inherit goarch
 
+# Incompatible with musl, at least for now
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+
 GOROOT_class-native = "${STAGING_LIBDIR_NATIVE}/go"
 GOROOT = "${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
 GOBIN_FINAL_class-native = "${GOROOT_FINAL}/bin"
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc
index fa9c339..3fb8a43 100644
--- a/meta/recipes-devtools/go/go-cross.inc
+++ b/meta/recipes-devtools/go/go-cross.inc
@@ -8,3 +8,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:"
 
 GOROOT_FINAL ="${libdir}/go"
 export GOROOT_FINAL
+
+# Incompatible with musl, at least for now
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+
diff --git a/meta/recipes-devtools/go/go.inc b/meta/recipes-devtools/go/go.inc
index 754fa34..c7780a1 100644
--- a/meta/recipes-devtools/go/go.inc
+++ b/meta/recipes-devtools/go/go.inc
@@ -5,6 +5,9 @@ DEPENDS += " go-native libgcc"
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_SYSROOT_STRIP = "1"
 
+# Incompatible with musl, at least for now
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+
 export GOHOSTOS = "${BUILD_GOOS}"
 export GOHOSTARCH = "${BUILD_GOARCH}"
 export GOOS = "${TARGET_GOOS}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list