forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
golang: Update to 1.21.0, remove patch
Upstream has updated the Go compiler to not use gold when building for arm, and is waiting for a fix to binutils (released in 2.41) before doing the same for aarch64.[1] Based on the above, it does not appear that golang/go#49748 will be merged. This removes the patch from that pull request. [1]: golang/go#22040 Signed-off-by: Jeffery To <[email protected]>
- Loading branch information
Showing
5 changed files
with
11 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
|
||
include $(TOPDIR)/rules.mk | ||
|
||
GO_VERSION_MAJOR_MINOR:=1.20 | ||
GO_VERSION_PATCH:=7 | ||
GO_VERSION_MAJOR_MINOR:=1.21 | ||
GO_VERSION_PATCH:=0 | ||
|
||
PKG_NAME:=golang | ||
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH)) | ||
|
@@ -20,7 +20,7 @@ GO_SOURCE_URLS:=https://dl.google.com/go/ \ | |
|
||
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz | ||
PKG_SOURCE_URL:=$(GO_SOURCE_URLS) | ||
PKG_HASH:=2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 | ||
PKG_HASH:=818d46ede85682dd551ad378ef37a4d247006f12ec59b5b755601d2ce114369a | ||
|
||
PKG_MAINTAINER:=Jeffery To <[email protected]> | ||
PKG_LICENSE:=BSD-3-Clause | ||
|
@@ -62,6 +62,7 @@ HOST_GO_VALID_OS_ARCH:= \ | |
\ | ||
aix_ppc64 \ | ||
js_wasm \ | ||
wasip1_wasm \ | ||
\ | ||
freebsd_riscv64 \ | ||
\ | ||
|
@@ -296,7 +297,7 @@ $(eval $(call GoCompiler/AddProfile,Package,$(PKG_BUILD_DIR),$(PKG_GO_PREFIX),$( | |
PKG_GO_ZBOOTSTRAP_MODS:= \ | ||
s/defaultGO386 = `[^`]*`/defaultGO386 = `$(or $(GO_386),sse2)`/; \ | ||
s/defaultGOAMD64 = `[^`]*`/defaultGOAMD64 = `$(or $(GO_AMD64),v1)`/; \ | ||
s/defaultGOARM = `[^`]*`/defaultGOARM = `$(or $(GO_ARM),5)`/; \ | ||
s/defaultGOARM = `[^`]*`/defaultGOARM = `$(or $(GO_ARM),7)`/; \ | ||
s/defaultGOMIPS = `[^`]*`/defaultGOMIPS = `$(or $(GO_MIPS),hardfloat)`/; \ | ||
s/defaultGOMIPS64 = `[^`]*`/defaultGOMIPS64 = `$(or $(GO_MIPS64),hardfloat)`/; \ | ||
s/defaultGOPPC64 = `[^`]*`/defaultGOPPC64 = `$(or $(GO_PPC64),power8)`/; | ||
|
48 changes: 0 additions & 48 deletions
48
.../golang/golang/patches/001-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-available.patch
This file was deleted.
Oops, something went wrong.