rust/mk/cfg
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
..
aarch64-apple-ios.mk
aarch64-linux-android.mk Splits Android NDK path configuration. 2015-07-28 19:21:04 +12:00
aarch64-unknown-linux-gnu.mk
arm-linux-androideabi.mk Splits Android NDK path configuration. 2015-07-28 19:21:04 +12:00
arm-unknown-linux-gnueabi.mk
arm-unknown-linux-gnueabihf.mk
armv7-apple-ios.mk
armv7s-apple-ios.mk
i386-apple-ios.mk
i686-apple-darwin.mk
i686-linux-android.mk New cross target: i686-linux-android 2015-08-23 15:38:11 +08:00
i686-pc-windows-gnu.mk Remove STARTUP_OBJS from Makefile deps for non win-gnu targets. 2015-12-08 14:56:22 +01:00
i686-pc-windows-msvc.mk Register new snapshots 2015-08-11 15:11:13 -07:00
i686-unknown-freebsd.mk Fixes #30333 by removing the -arch i386 form the right spot 2015-12-11 10:53:04 -08:00
i686-unknown-linux-gnu.mk
le32-unknown-nacl.mk Add PNaCl target info to the makefile target cfgs and initialize the PNaCl target 2015-12-19 00:26:53 -06:00
mips-unknown-linux-gnu.mk mk: Fix compile for mips 2015-10-16 14:30:56 -07:00
mipsel-unknown-linux-gnu.mk mk: Fix compile for mips 2015-10-16 14:30:56 -07:00
powerpc-unknown-linux-gnu.mk
x86_64-apple-darwin.mk
x86_64-apple-ios.mk
x86_64-pc-windows-gnu.mk Remove STARTUP_OBJS from Makefile deps for non win-gnu targets. 2015-12-08 14:56:22 +01:00
x86_64-pc-windows-msvc.mk Register new snapshots 2015-08-11 15:11:13 -07:00
x86_64-rumprun-netbsd.mk Add support for the rumprun unikernel 2015-09-26 14:10:14 +02:00
x86_64-unknown-bitrig.mk
x86_64-unknown-dragonfly.mk
x86_64-unknown-freebsd.mk
x86_64-unknown-linux-gnu.mk
x86_64-unknown-linux-musl.mk Make sure rsbegin.o and rsend.o get packaged with target lib artifacts. 2015-11-07 17:56:55 -08:00
x86_64-unknown-netbsd.mk Various fixes for NetBSD/amd64 2015-09-21 21:50:54 +02:00
x86_64-unknown-openbsd.mk openbsd: use specific linker for building 2015-12-20 07:21:36 +01:00