Skip to contentSkip to conversation

go: Use right dynamic linker on musl

PATCH New Khem Raj 1 participant 1 message Nov 17, 2017

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 go: Use right dynamic linker on musl

---

Changes since V1: Drop using pie by default patch

 meta/recipes-devtools/go/go-1.9.inc                |   2 +
 .../go/go-1.9/set-external-linker.patch            | 111 +++++++++++++++++++++
 2 files changed, 113 insertions(+)
 create mode 100644 meta/recipes-devtools/go/go-1.9/set-external-linker.patch
meta/recipes-devtools/go/go-1.9.inc +2 -0
index 65adaa8d72..60292651df 100644
@@ -16,5 +16,7 @@ SRC_URI += "\
         file://0008-make.bash-add-GOHOSTxx-indirection-for-cross-canadia.patch \
         file://0009-cmd-go-buildmode-pie-forces-external-linking-mode-on.patch \
 "
+SRC_URI_append_libc-musl = " file://set-external-linker.patch"
+
 SRC_URI[main.md5sum] = "da2d44ea384076efec43ee1f8b7d45d2"
 SRC_URI[main.sha256sum] = "a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993"
meta/recipes-devtools/go/go-1.9/set-external-linker.patch new file +111 -0

111 lines not on this page · raw message

Signature · 1 line
2.15.0