Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit 3fe2d9b

Browse files
committed
Update GCC to 10
1 parent afb1f37 commit 3fe2d9b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

script/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def main():
7979
else:
8080
args += [
8181
'extra_cflags_cc=["-fno-exceptions", "-fno-rtti","-D_GLIBCXX_USE_CXX11_ABI=0"]',
82-
'cc="gcc-9"',
83-
'cxx="g++-9"',
82+
'cc="gcc-10"',
83+
'cxx="g++-10"',
8484
]
8585
elif 'windows' == target:
8686
args += [

script/prepare_linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ add-apt-repository ppa:ubuntu-toolchain-r/test -y
99
apt-get update -y
1010
apt-get install build-essential software-properties-common -y
1111
apt-get update
12-
apt-get install gcc-9 g++-9 -y
13-
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
12+
apt-get install gcc-10 g++-10 -y
13+
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60 --slave /usr/bin/g++ g++ /usr/bin/g++-10
1414
update-alternatives --config gcc
1515

1616
apt-get install git wget -y

0 commit comments

Comments
 (0)