Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
macros: Sync with boulder-rs for flto fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Mar 10, 2024
1 parent 5294f46 commit b168b8d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions data/macros/arch/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,15 @@ flags :

# Enable LTO optimisations (OFF)
- lto-full:
c : "-flto"
cxx : "-flto"
ld : "-flto"
gnu:
c : "-flto=%(jobs)"
cxx : "-flto=%(jobs)"
ld : "-flto=%(jobs)"
llvm:
c : "-flto"
cxx : "-flto"
d : "-flto=full"

ld : "-flto"

# Enable Thin-LTO optimisations (OFF)
- lto-thin:
Expand Down

0 comments on commit b168b8d

Please sign in to comment.