]> git.lizzy.rs Git - rust.git/commit
std: Link to gcc_s on NetBSD
authorAlex Crichton <alex@alexcrichton.com>
Mon, 21 Mar 2016 18:23:44 +0000 (11:23 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 21 Mar 2016 18:23:44 +0000 (11:23 -0700)
commitf34c0e6ebd1f8a03a864b58fb6c6f8ebdffd80d6
tree70ede7ee991c89225e520703dd34e42badece3c9
parent7c66a89849b2d0025121a0898c4ab298da8814bf
std: Link to gcc_s on NetBSD

Currently the nightlies we're producing fail when linking some C code into a
Rust application with the error message:

    libgcc_s.so.1: error adding symbols: DSO missing from command line

By linking `gcc_s` instead of `gcc` this error goes away. I haven't tested this
on NetBSD itself, but should help get the Linux cross-compile image moreso up
and working!
src/libstd/build.rs