diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-09-13 14:54:07 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-14 11:35:45 +0100 |
commit | d61d4823a91cd46aac48fb5d3030f385d2e716c9 (patch) | |
tree | 45dbf0ecb50775189aa9d3e1cc78a9bc0d874f15 | |
parent | 05c439a325e0a7637e9eec369adb77eaf9c32846 (diff) | |
download | poky-d61d4823a91cd46aac48fb5d3030f385d2e716c9.tar.gz |
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.
(From OE-Core rev: 6699e668413c10704ffa8094b3dca67a9b88422a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/go.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/go/go-dep_0.3.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index d805dc2713..4af148e302 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 | |||
109 | 109 | ||
110 | FILES_${PN}-dev = "${libdir}/go/src" | 110 | FILES_${PN}-dev = "${libdir}/go/src" |
111 | FILES_${PN}-staticdev = "${libdir}/go/pkg" | 111 | FILES_${PN}-staticdev = "${libdir}/go/pkg" |
112 | |||
113 | 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 5e4544a104..abfeb48370 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 | |||
13 | 13 | ||
14 | GO_INSTALL = "${GO_IMPORT}/cmd/dep" | 14 | GO_INSTALL = "${GO_IMPORT}/cmd/dep" |
15 | 15 | ||
16 | INSANE_SKIP_${PN} += "ldflags" | ||
17 | |||
18 | RDEPENDS_${PN}-dev += "bash" | 16 | RDEPENDS_${PN}-dev += "bash" |