diff options
| author | bors <bors@rust-lang.org> | 2015-12-21 04:15:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-21 04:15:28 +0000 |
| commit | 29e60aba7d87d890bc401f57834c06a2b888258b (patch) | |
| tree | f29742e3e7e17fff9a112cfcd90c23e189a8df96 /src/liballoc_system | |
| parent | c6079d05860e9d69c867007305e7c15ce4d8c389 (diff) | |
| parent | b74359a0a0c88893d37a2057a955773f399b6508 (diff) | |
| download | rust-29e60aba7d87d890bc401f57834c06a2b888258b.tar.gz rust-29e60aba7d87d890bc401f57834c06a2b888258b.zip | |
Auto merge of #30493 - semarie:openbsd-cc, r=alexcrichton
this PR reverts previous ones, that tried to make `cc` to found `estdc++` in `/usr/local/lib`. It causes more trouble than it resolvs things: rustc become unbuildable if another version already exists in `/usr/local` (for example, `libstd-xxxx.so` is found in `/usr/local/lib` and in builddir). so this PR tries another way to achieve build, but using the good linker for building. By default, rustc use `cc` for linking. But under OpenBSD, `cc` is gcc 4.2.1 from base, whereas we build with gcc 4.9 from ports. By linking using the compiler found at compile-time, we ensure that the compiler will found his own stdc++ library without trouble. r? @alexcrichton
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
