summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-target.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/go/go-target.inc')
-rw-r--r--meta/recipes-devtools/go/go-target.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index 8e44247031..47b4411d54 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -1,12 +1,12 @@
1DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" 1DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
2DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" 2DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native"
3 3
4export GOCACHE = "${B}/.cache" 4export GOCACHE = "${B}/.cache"
5GO_LDFLAGS = "" 5GO_LDFLAGS = ""
6GO_LDFLAGS_class-nativesdk = "-linkmode external" 6GO_LDFLAGS:class-nativesdk = "-linkmode external"
7export GO_LDFLAGS 7export GO_LDFLAGS
8 8
9CC_append_class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" 9CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}"
10 10
11do_configure[noexec] = "1" 11do_configure[noexec] = "1"
12 12
@@ -38,8 +38,8 @@ do_install() {
38} 38}
39 39
40PACKAGES = "${PN} ${PN}-dev" 40PACKAGES = "${PN} ${PN}-dev"
41FILES_${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir}" 41FILES:${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir}"
42RDEPENDS_${PN} = "go-runtime" 42RDEPENDS:${PN} = "go-runtime"
43INSANE_SKIP_${PN} = "ldflags" 43INSANE_SKIP:${PN} = "ldflags"
44 44
45BBCLASSEXTEND = "nativesdk" 45BBCLASSEXTEND = "nativesdk"