Skip to content

Commit

Permalink
Always use SplitSource on OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Nov 5, 2020
1 parent 254823d commit e4dda41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,15 @@
}

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';
}

Expand Down

0 comments on commit e4dda41

Please sign in to comment.