Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684562 - sys-devel/clang should support setting lld as default linker
Summary: sys-devel/clang should support setting lld as default linker
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-04-28 08:56 UTC by Jiang Yi
Modified: 2019-04-28 12:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-Support-setting-default-linker-as-lld-for-clang.patch (0001-Support-setting-default-linker-as-lld-for-clang.patch,1.80 KB, patch)
2019-04-28 08:56 UTC, Jiang Yi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiang Yi 2019-04-28 08:56:49 UTC
Created attachment 574464 [details, diff]
0001-Support-setting-default-linker-as-lld-for-clang.patch

Support setting default linker as lld for clang by adding a use flag default-lld. Similar to default-libcxx and default-compiler-rt.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-28 12:17:56 UTC
The only reason USE=default-* exists is because it was needed for FreeBSD profiles.  This stuff really belongs in configuration files and not USE flags.