aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-09-13 14:54:07 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-13 22:12:19 +0100
commit6699e668413c10704ffa8094b3dca67a9b88422a (patch)
tree90db33deb18ba7c9b41211528718b59bfd3c3113
parent5624a773e4db3ad2251641e69b04dc380e74a4c7 (diff)
downloadopenembedded-core-6699e668413c10704ffa8094b3dca67a9b88422a.zip
openembedded-core-6699e668413c10704ffa8094b3dca67a9b88422a.tar.gz
openembedded-core-6699e668413c10704ffa8094b3dca67a9b88422a.tar.bz2
go.bbclass: Add "ldflags" to QA skip list
Currently every Go package will end with GNU_HASH in the ELF binary however adding it to every recipe is cumbersome so instead we handle that here. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/go.bbclass2
-rw-r--r--meta/recipes-devtools/go/go-dep_0.3.0.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index d805dc2..4af148e 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -109,3 +109,5 @@ EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install
FILES_${PN}-dev = "${libdir}/go/src"
FILES_${PN}-staticdev = "${libdir}/go/pkg"
+
+INSANE_SKIP_${PN} += "ldflags"
diff --git a/meta/recipes-devtools/go/go-dep_0.3.0.bb b/meta/recipes-devtools/go/go-dep_0.3.0.bb
index 5e4544a..abfeb48 100644
--- a/meta/recipes-devtools/go/go-dep_0.3.0.bb
+++ b/meta/recipes-devtools/go/go-dep_0.3.0.bb
@@ -13,6 +13,4 @@ inherit go
GO_INSTALL = "${GO_IMPORT}/cmd/dep"
-INSANE_SKIP_${PN} += "ldflags"
-
RDEPENDS_${PN}-dev += "bash"