aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortengsen <pphh00@sina.com>2019-10-16 17:22:48 +0800
committertengsen <pphh00@sina.com>2019-10-16 17:26:51 +0800
commit8535c246c4f3a7b0ca6c0b2e1994bf1be45b5df1 (patch)
tree529b87c0104a21a6c62a8b56b68e41407829d459
parent110380cf0c294d6c4a32ff38b42e17a2ff0d00ad (diff)
GCC: switch to git source
-rwxr-xr-xmingw-w64-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mingw-w64-build b/mingw-w64-build
index 80dc5ed..3964da2 100755
--- a/mingw-w64-build
+++ b/mingw-w64-build
@@ -19,7 +19,7 @@
v_script="4.0.1"
v_mingww64="6git"
v_binutils="2.32git"
-v_gcc="9svn"
+v_gcc="9git"
v_gmp="6.1.2"
v_mpfr="4.0.2"
v_mpc="1.1.0"
@@ -89,7 +89,7 @@ download_sources()
git clone --depth 1 -b binutils-2_32-branch --single-branch git://sourceware.org/git/binutils-gdb.git binutils-$v_binutils || error_exit
echo "downloading gcc" >&3
- svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-9-branch gcc-$v_gcc || error_exit
+ git clone --depth 1 -b gcc-9-branch git://gcc.gnu.org/git/gcc.git gcc-$v_gcc || error_exit
local urls=(
"https://ftp.gnu.org/gnu/gmp/gmp-$v_gmp.tar.xz"