Link with ld.gold by default
To disable, pass `-C disable-gold`
This commit is contained in:
parent
27a1834ce5
commit
34dc0e0739
3 changed files with 57 additions and 0 deletions
|
|
@ -539,6 +539,8 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
|
|||
"explicitly enable the cfg(debug_assertions) directive"),
|
||||
inline_threshold: Option<usize> = (None, parse_opt_uint,
|
||||
"set the inlining threshold for"),
|
||||
disable_gold: bool = (false, parse_bool,
|
||||
"disable use of the ld.gold linker"),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue