about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-21 04:15:28 +0000
committerbors <bors@rust-lang.org>2015-12-21 04:15:28 +0000
commit29e60aba7d87d890bc401f57834c06a2b888258b (patch)
treef29742e3e7e17fff9a112cfcd90c23e189a8df96 /src/liballoc_system
parentc6079d05860e9d69c867007305e7c15ce4d8c389 (diff)
parentb74359a0a0c88893d37a2057a955773f399b6508 (diff)
downloadrust-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