rust/mk
bors 29e60aba7d 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
2015-12-21 04:15:28 +00:00
..
cfg Auto merge of #30493 - semarie:openbsd-cc, r=alexcrichton 2015-12-21 04:15:28 +00:00
clean.mk Added missing argument to 'find' 2015-10-27 23:47:53 +13:00
crates.mk Move built-in syntax extensions to a separate crate 2015-12-15 15:04:46 +09:00
ctags.mk Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
debuggers.mk debuginfo: Create common debugger pretty printer module. 2015-05-30 20:06:08 +02:00
dist.mk mk: Fix make dist 2015-12-04 08:55:02 -08:00
docs.mk src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
grammar.mk Make lexer tooling message more generic 2015-09-23 11:43:49 -04:00
host.mk
install.mk Fix typo in make var 2015-12-07 00:20:35 +01:00
llvm.mk mk: Use the right llvmdeps.rs file for cross build 2015-12-16 08:06:27 -08:00
main.mk Add PNaCl target info to the makefile target cfgs and initialize the PNaCl target 2015-12-19 00:26:53 -06:00
perf.mk
platform.mk remove specific code for OpenBSD that define STDCPP_LIBDIR_RUSTFLAGS 2015-12-20 07:21:36 +01:00
prepare.mk Fix --libdir installs 2015-11-16 18:55:07 -05:00
reconfig.mk mk: Fix reconfiguring top-level ./configure 2015-06-17 17:32:11 -07:00
rt.mk Make sure rsbegin.o and rsend.o get packaged with target lib artifacts. 2015-11-07 17:56:55 -08:00
rustllvm.mk trans: Use LLVM's writeArchive to modify archives 2015-07-10 09:06:21 -07:00
snap.mk Remove extra eval call in snap.mk 2015-11-13 15:15:51 -05:00
stage0.mk
target.mk remove specific code for OpenBSD that define STDCPP_LIBDIR_RUSTFLAGS 2015-12-20 07:21:36 +01:00
tests.mk remove specific code for OpenBSD that define STDCPP_LIBDIR_RUSTFLAGS 2015-12-20 07:21:36 +01:00
util.mk mk: Build crates with relative paths to rustc 2015-06-13 01:41:52 +02:00