Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | require go-common.inc |
| 2 | |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 3 | GO_BASEVERSION = "1.16" |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 4 | PV = "1.16.7" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 5 | FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" |
| 8 | |
| 9 | SRC_URI += "\ |
| 10 | file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \ |
| 11 | file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \ |
| 12 | file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \ |
| 13 | file://0004-ld-add-soname-to-shareable-objects.patch \ |
| 14 | file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \ |
| 15 | file://0006-cmd-dist-separate-host-and-target-builds.patch \ |
| 16 | file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ |
| 17 | file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 18 | file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 19 | " |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 20 | SRC_URI[main.sha256sum] = "1a9f2894d3d878729f7045072f30becebe243524cf2fce4e0a7b248b1e0654ac" |
| 21 | |
| 22 | # Upstream don't believe it is a signifiant real world issue and will only |
| 23 | # fix in 1.17 onwards where we can drop this. |
| 24 | # https://github.com/golang/go/issues/30999#issuecomment-910470358 |
| 25 | CVE_CHECK_WHITELIST += "CVE-2021-29923" |