From a1e41a1dc13c8f5d1fe70e116db287426e0967bc Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 12 Sep 2021 20:55:52 +0300 Subject: [PATCH] Use Debian 10 build instructions for Debian 11 and combine build instructions for Debian 8 and 9. --- build.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/build.html b/build.html index f63ad6b..7e845f0 100644 --- a/build.html +++ b/build.html @@ -34,9 +34,8 @@ select.large { font-size: large; } - - - + + @@ -338,9 +337,8 @@ function onOptionsChanged() { packages += ' ' + cmake; commands.push(sudo + 'yum install -y ' + packages); break; - case 'Debian 8': - case 'Debian 9': - case 'Debian 10': + case 'Debian 8/9': + case 'Debian 10+': case 'Ubuntu 14': case 'Ubuntu 16': case 'Ubuntu 18': @@ -361,7 +359,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') { packages += ' libc++abi-dev'; } } else {