Skip to content

Commit

Permalink
link with lld when LTO is enabled on clang for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
invertego committed Sep 19, 2021
1 parent c8ccd14 commit d8008d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nall/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ ifeq ($(lto),true)
options += -flto=jobserver
else
options += -flto=thin
ifeq ($(platform),windows)
options += -fuse-ld=lld
endif
endif
endif
Expand Down

0 comments on commit d8008d4

Please sign in to comment.