From 349c02cd590e10c293edd4772ab37b681945c808 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 8 Dec 2023 02:58:55 +0000 Subject: [PATCH] enable thinLTO --- _build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_build.sh b/_build.sh index 390cb2b3c..d24fea153 100755 --- a/_build.sh +++ b/_build.sh @@ -1317,7 +1317,7 @@ build_single_target() { # LTO # https://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html # https://convolv.es/guides/lto/ - if [[ "${_CONFIG}" = *'thinlto'* ]]; then + if true || [[ "${_CONFIG}" = *'thinlto'* ]]; then if [[ "${_CC}" = 'llvm' ]]; then _CFLAGS_GLOBAL+=' -flto=thin' _CXXFLAGS_GLOBAL+=' -flto=thin'