mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
golang: Fix host build compatibility with GCC 15
Fixes https://github.com/openwrt/packages/issues/26446. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
committed by
Josef Schlehofer
parent
08b4fcd5e6
commit
f7d2ebfe37
@@ -12,7 +12,7 @@ GO_VERSION_PATCH:=3
|
||||
|
||||
PKG_NAME:=golang
|
||||
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH))
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
GO_SOURCE_URLS:=https://dl.google.com/go/ \
|
||||
https://mirrors.ustc.edu.cn/golang/ \
|
||||
@@ -292,6 +292,7 @@ endef
|
||||
define Host/Compile
|
||||
$(call GoCompiler/Bootstrap/Make, \
|
||||
$(HOST_GO_VARS) \
|
||||
CC="$(HOSTCC_NOCACHE) -std=gnu17" \
|
||||
)
|
||||
|
||||
$(call GoCompiler/Bootstrap-1.17/Make, \
|
||||
|
||||
Reference in New Issue
Block a user