]> git.lizzy.rs Git - rust.git/commit
Use no_default_libraries for all NetBSD flavors
authorbgermann <bgermann@users.noreply.github.com>
Thu, 20 Sep 2018 18:00:02 +0000 (20:00 +0200)
committerbgermann <bgermann@users.noreply.github.com>
Thu, 20 Sep 2018 18:00:02 +0000 (20:00 +0200)
commit36d562ff2305242d528d0d51b666e4a15e6bf811
tree9c9ebb78b5bdfad0ae9d0bcd76aee1d92dd2f4e4
parent3bc2ca7e4f8507f82a4c357ee19300166bcd8099
Use no_default_libraries for all NetBSD flavors

The no_default_libraries was introduced in #28578 because the
NetBSD-based rumprun needed to disable the link flag.
This moves the definition to be used by all NetBSD linker flavors to
close #49627.

A different solution would be adding -lc but as there is no platform
with explicit -lc, this approach is used.
src/librustc_target/spec/netbsd_base.rs
src/librustc_target/spec/x86_64_rumprun_netbsd.rs