From 747830b0c30772b7c2fa61da9d6edb046767712a Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Sat, 2 Dec 2023 18:27:42 +0100 Subject: [PATCH] LTO & ASM: -flto=thin with LLVM15 does not find enough register in MacOS CI --- constantine.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constantine.nimble b/constantine.nimble index c97c70275..340ac4cca 100644 --- a/constantine.nimble +++ b/constantine.nimble @@ -168,7 +168,7 @@ proc releaseBuildOptions(buildMode = bmBinary): string = # "-s -flinker-output=nolto-rel" # with an extra C compiler call # to consolidate all objects into one. - let ltoFlags = " -d:lto_incremental " # " --UseAsmSyntaxIntel --passC:-flto=auto --passL:-flto=auto " + let ltoFlags = " -d:lto " # " --UseAsmSyntaxIntel --passC:-flto=auto --passL:-flto=auto " let apple = defined(macos) or defined(macox) or defined(ios) let ltoOptions = if useLtoDefault: