Skip to content

Commit 2d352b0

Browse files
committed
Build instructions generator: remove LTO checkbox for Go.
1 parent 716481c commit 2d352b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎build.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
var use_vcpkg = os_windows;
642642

643643
var use_lto = false;
644-
if (!use_msvc && language !== 'Java' && language !== 'Kotlin' && (os_mac || (os_linux && (linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22' || linux_distro === 'Other')))) {
644+
if (!use_msvc && language !== 'Go' && language !== 'Java' && language !== 'Kotlin' && (os_mac || (os_linux && (linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22' || linux_distro === 'Other')))) {
645645
document.getElementById('buildLtoDiv').style.display = 'block';
646646
use_lto = document.getElementById('buildLtoCheckbox').checked;
647647
} else {

0 commit comments

Comments
 (0)