Skip to content

Commit 463e961

Browse files
committed
init_build_environment: bump to gcc 10 for debian 11/ubuntu 22.04
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
1 parent 3ceab0d commit 463e961

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
1.7K May 8 2024 convert_translation.sh
2121
3.0K May 8 2024 create_acl_for_luci.sh
2222
3.7K May 8 2024 create_ucitrack_for_luci.sh
23-
13K Aug 31 17:34 init_build_environment.sh
23+
13K Sep 12 20:59 init_build_environment.sh
2424
18K Jun 1 2023 LICENSE
2525
4.0K Feb 6 2025 maintainer-tools
2626
4.7K Feb 6 2025 maketag.sh

init_build_environment.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,25 @@ function check_system() {
4949
UBUNTU_CODENAME="bionic"
5050
VERSION_PACKAGE="lib32gcc1 python2"
5151
;;
52-
"focal"|\
53-
"jammy")
52+
"focal")
5453
GCC_VERSION="9"
5554
LLVM_VERSION="18"
5655
UBUNTU_CODENAME="$VERSION_CODENAME"
5756
VERSION_PACKAGE="lib32gcc-s1 python2"
5857
;;
5958
"bullseye")
6059
BPO_FLAG="-t $VERSION_CODENAME-backports"
61-
GCC_VERSION="9"
60+
GCC_VERSION="10"
6261
LLVM_VERSION="18"
6362
UBUNTU_CODENAME="focal"
6463
VERSION_PACKAGE="lib32gcc-s1 python2"
6564
;;
65+
"jammy")
66+
GCC_VERSION="10"
67+
LLVM_VERSION="18"
68+
UBUNTU_CODENAME="$VERSION_CODENAME"
69+
VERSION_PACKAGE="lib32gcc-s1 python2"
70+
;;
6671
"bookworm")
6772
BPO_FLAG="-t $VERSION_CODENAME-backports"
6873
GCC_VERSION="12"

0 commit comments

Comments
 (0)