From 59c64c067f946aed965b9b642a719c0ed115811a 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 e78d9cfec..0a6f42fc7 100755 --- a/_build.sh +++ b/_build.sh @@ -1321,7 +1321,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'