diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-02-19 20:30:28 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-20 15:18:30 +0000 |
| commit | 088a0ab9c57c5d7c3efda03d62c9784745b64e00 (patch) | |
| tree | 8795dfc3160bf64e41aafd53034ee011083d963e /meta/recipes-devtools/go/go_1.20.1.bb | |
| parent | 9b4396e476469e31469417d3752d71f9373e9b76 (diff) | |
| download | poky-088a0ab9c57c5d7c3efda03d62c9784745b64e00.tar.gz | |
go: update 1.20 -> 1.20.1
(From OE-Core rev: 257d508268719bd90ed81b61a04b756ba78ec1bd)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go_1.20.1.bb')
| -rw-r--r-- | meta/recipes-devtools/go/go_1.20.1.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go_1.20.1.bb b/meta/recipes-devtools/go/go_1.20.1.bb new file mode 100644 index 0000000000..587ee55944 --- /dev/null +++ b/meta/recipes-devtools/go/go_1.20.1.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | require go-${PV}.inc | ||
| 2 | require go-target.inc | ||
| 3 | |||
| 4 | inherit linuxloader | ||
| 5 | |||
| 6 | CGO_LDFLAGS:append:mips = " -no-pie" | ||
| 7 | |||
| 8 | export GO_LDSO = "${@get_linuxloader(d)}" | ||
| 9 | export CC_FOR_TARGET = "gcc" | ||
| 10 | export CXX_FOR_TARGET = "g++" | ||
| 11 | |||
| 12 | # mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv32 and its | ||
| 13 | # variants. | ||
| 14 | python() { | ||
| 15 | if 'mips' in d.getVar('TARGET_ARCH') or 'riscv32' in d.getVar('TARGET_ARCH'): | ||
| 16 | d.appendVar('INSANE_SKIP:%s' % d.getVar('PN'), " textrel") | ||
| 17 | } | ||
| 18 | |||
