diff --git a/kernel/harmony/build-win.sh b/kernel/harmony/build-win.sh index fc3b15d32..329b66bff 100755 --- a/kernel/harmony/build-win.sh +++ b/kernel/harmony/build-win.sh @@ -1,6 +1,6 @@ #!/bin/bash -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 export GOOS=android export GOARCH=amd64 diff --git a/kernel/harmony/build.sh b/kernel/harmony/build.sh index a1c3c9569..5b229fa1c 100755 --- a/kernel/harmony/build.sh +++ b/kernel/harmony/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 export GOOS=android export GOARCH=arm64 diff --git a/scripts/darwin-build.sh b/scripts/darwin-build.sh index 8fe5bc1f1..304c018d9 100755 --- a/scripts/darwin-build.sh +++ b/scripts/darwin-build.sh @@ -15,7 +15,7 @@ echo 'Building Kernel' cd kernel go version export GO111MODULE=on -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 echo 'Building Kernel amd64' diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh index 660763305..d5dbfe673 100755 --- a/scripts/linux-build.sh +++ b/scripts/linux-build.sh @@ -15,7 +15,7 @@ echo 'Building Kernel' cd kernel go version export GO111MODULE=on -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 echo 'Building Kernel amd64' diff --git a/scripts/win-build.bat b/scripts/win-build.bat index e12148e5c..eabd79b7c 100644 --- a/scripts/win-build.bat +++ b/scripts/win-build.bat @@ -19,7 +19,7 @@ echo 'Building Kernel' @REM the C compiler "gcc" is necessary https://sourceforge.net/projects/mingw-w64/files/mingw-w64/ go version set GO111MODULE=on -set GOPROXY=https://goproxy.io +set GOPROXY=https://mirrors.aliyun.com/goproxy/ set CGO_ENABLED=1 cd kernel