From 2c470be852133e035156758a7c1fa6e87b3a8c92 Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Sat, 7 Oct 2023 17:22:32 -0500 Subject: [PATCH] Feat(CI): Add an option to use LTO instead of building with it by default --- CI/before_script.msvc.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh index ac0d798d0..d12084089 100644 --- a/CI/before_script.msvc.sh +++ b/CI/before_script.msvc.sh @@ -63,6 +63,7 @@ STRIP="" SKIP_DOWNLOAD="" SKIP_EXTRACT="" USE_CCACHE="" +USE_LTO="" KEEP="" UNITY_BUILD="" VS_VERSION="" @@ -152,6 +153,9 @@ while [ $# -gt 0 ]; do T ) USE_CLANG_TIDY=true ;; + L ) + USE_LTO=true ;; + h ) cat <