diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-11-11 20:16:17 +0100 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-11-11 20:16:17 +0100 |
| commit | 646b0b639228bcc5e506959e5e758f33fe6f4fff (patch) | |
| tree | c8bf614505bf908f6a5c2c588f5daa25ef033fbe /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 05b66b8a1c74fe1182e594b330a4f5ab502eacc4 (diff) | |
| download | rust-646b0b639228bcc5e506959e5e758f33fe6f4fff.tar.gz rust-646b0b639228bcc5e506959e5e758f33fe6f4fff.zip | |
pass stdc++ library path after LVVM library path
under openbsd, the library path of libstdc++ need to be explicit (due to the fact the default linker `cc` is gcc-4.2, and not gcc-4.9). but when a recent LLVM is installed, rustc compilation pikes the bad LLVM version (which live in /usr/local/lib, which is same directory of libestdc++.so for gcc-4.9). this patch move the libstdc++ path from RUST_FLAGS_<target> to special variable, and use it *after* LLVM_LIBDIR_RUSTFLAGS_<target> in arguments.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
