Skip to content

Fix clang-cl toolchain with lto#6167

Merged
waruqi merged 2 commits intoxmake-io:devfrom
star-hengxing:clang-cl
Feb 24, 2025
Merged

Fix clang-cl toolchain with lto#6167
waruqi merged 2 commits intoxmake-io:devfrom
star-hengxing:clang-cl

Conversation

@star-hengxing
Copy link
Contributor

https://clang.llvm.org/docs/ThinLTO.html

When using lld-link, the -flto option need only be added to the compile step

@waruqi waruqi merged commit 8ebd43d into xmake-io:dev Feb 24, 2025
22 checks passed
@star-hengxing star-hengxing deleted the clang-cl branch February 24, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants