aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.html
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-07-12 20:26:44 +0300
committerlevlam <levlam@telegram.org>2022-07-12 20:26:44 +0300
commit0bf71e15dbc714da1c177b24814324aecaf68b72 (patch)
tree623764b59f5008ef8c1f2ab6bd867b13b0e5007f /build.html
parentc23763484739772649f164a21c5a58cfee65663d (diff)
Add Ubuntu 22 to the list of Linux distros.
Diffstat (limited to 'build.html')
-rw-r--r--build.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.html b/build.html
index d43e23a..035a176 100644
--- a/build.html
+++ b/build.html
@@ -207,6 +207,7 @@
<option>Ubuntu 16</option>
<option>Ubuntu 18</option>
<option>Ubuntu 20</option>
+ <option>Ubuntu 22</option>
<option>Other</option>
</select>
<p></p>
@@ -493,6 +494,8 @@ function onOptionsChanged() {
return '-6.0';
case 'Ubuntu 20':
return '-10';
+ case 'Ubuntu 22':
+ return '-14';
default:
return ''; // use default version
}
@@ -534,6 +537,7 @@ function onOptionsChanged() {
case 'Ubuntu 16':
case 'Ubuntu 18':
case 'Ubuntu 20':
+ case 'Ubuntu 22':
if (linux_distro.includes('Debian') && !use_root) {
commands.push('su -');
}
@@ -550,7 +554,7 @@ function onOptionsChanged() {
}
if (use_clang) {
packages += ' clang' + getClangVersionSuffix() + ' libc++-dev';
- if (linux_distro === 'Debian 10+' || linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20') {
+ if (linux_distro === 'Debian 10+' || linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22') {
packages += ' libc++abi-dev';
}
} else {