From e4dda41a98ef126e55c4a0630d6c617bf7b9a995 Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 5 Nov 2020 23:42:58 +0300 Subject: [PATCH] Always use SplitSource on OpenBSD. --- build.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.html b/build.html index 985b8f04c..3c4d5541e 100644 --- a/build.html +++ b/build.html @@ -385,12 +385,15 @@ function onOptionsChanged() { } var low_memory = false; - if (os_linux || os_freebsd || os_openbsd || os_netbsd) { + if (os_linux || os_freebsd || os_netbsd) { low_memory = document.getElementById('buildLowMemoryCheckbox').checked; document.getElementById('buildLowMemoryText').innerHTML = 'I have less than ' + (use_clang ? '1.5' : '3.5') +' GB of RAM.' + (low_memory ? ' Now you will need only ' + (use_clang ? '0.5' : '1') +' GB of RAM to build TDLib.' : ''); document.getElementById('buildLowMemoryDiv').style.display = 'block'; } else { + if (os_openbsd) { + low_memory = true; + } document.getElementById('buildLowMemoryDiv').style.display = 'none'; }