Always use SplitSource on OpenBSD.
This commit is contained in:
parent
254823d602
commit
e4dda41a98
@ -385,12 +385,15 @@ function onOptionsChanged() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var low_memory = false;
|
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;
|
low_memory = document.getElementById('buildLowMemoryCheckbox').checked;
|
||||||
document.getElementById('buildLowMemoryText').innerHTML = 'I have less than ' + (use_clang ? '1.5' : '3.5') +' GB of RAM.' +
|
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.' : '');
|
(low_memory ? ' Now you will need only ' + (use_clang ? '0.5' : '1') +' GB of RAM to build TDLib.' : '');
|
||||||
document.getElementById('buildLowMemoryDiv').style.display = 'block';
|
document.getElementById('buildLowMemoryDiv').style.display = 'block';
|
||||||
} else {
|
} else {
|
||||||
|
if (os_openbsd) {
|
||||||
|
low_memory = true;
|
||||||
|
}
|
||||||
document.getElementById('buildLowMemoryDiv').style.display = 'none';
|
document.getElementById('buildLowMemoryDiv').style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user