Skip to content

Commit

Permalink
LTO & ASM: -flto=thin with LLVM15 does not find enough register in Ma…
Browse files Browse the repository at this point in the history
…cOS CI
  • Loading branch information
mratsim committed Dec 2, 2023
1 parent eda1252 commit 747830b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constantine.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 747830b

Please sign in to comment.