Skip to content

Commit a17f139

Browse files
authored
Add thin-dist lto (#53)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
1 parent f6cf6de commit a17f139

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/conf-window.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ GENERATE_CONST_LOOKUP_OPTION_VALUES(kernel_name, "cachyos", "bore", "rc", "rt",
103103
GENERATE_CONST_LOOKUP_OPTION_VALUES(hz_tick, "1000", "750", "600", "500", "300", "250", "100")
104104
GENERATE_CONST_LOOKUP_OPTION_VALUES(tickless_mode, "full", "idle", "perodic")
105105
GENERATE_CONST_LOOKUP_OPTION_VALUES(preempt_mode, "full", "lazy", "voluntary", "none")
106-
GENERATE_CONST_LOOKUP_OPTION_VALUES(lto_mode, "none", "full", "thin")
106+
GENERATE_CONST_LOOKUP_OPTION_VALUES(lto_mode, "none", "full", "thin", "thin-dist")
107107
GENERATE_CONST_LOOKUP_OPTION_VALUES(hugepage_mode, "always", "madvise")
108108
GENERATE_CONST_LOOKUP_OPTION_VALUES(cpu_opt_mode, "manual", "native", "generic", "generic_v2", "generic_v3", "generic_v4", "zen4")
109109

@@ -516,7 +516,8 @@ ConfWindow::ConfWindow(QWidget* parent)
516516
QStringList lto_modes;
517517
lto_modes << "No"
518518
<< "Full"
519-
<< "Thin";
519+
<< "Thin"
520+
<< "Thin-dist";
520521
options_page_ui_obj->lto_combo_box->addItems(lto_modes);
521522
// ThinLTO is enabled by default for defaultkernel,rckernel in the PKGBUILD
522523
options_page_ui_obj->lto_combo_box->setCurrentIndex(2);

0 commit comments

Comments
 (0)