rust/mk/cfg
Alex Crichton b980f22877 mk: Move disable-jemalloc logic into makefiles
The `--disable-jemalloc` configure option has a failure mode where it will
create a distribution that is not compatible with other compilers. For example
the nightly for Linux will assume that it will link to jemalloc by default as
an allocator for executable crates. If, however, a standard library is used
which was built via `./configure --disable-jemalloc` then this will fail
because the jemalloc crate wasn't built.

While this seems somewhat reasonable as a niche situation, the same mechanism is
used for disabling jemalloc for platforms that just don't support it. For
example if the rumprun target is compiled then the sibiling Linux target *also*
doesn't have jemalloc. This is currently a problem for our cross-build nightlies
which build many targets. If rumprun is also built, it will disable jemalloc for
all targets, which isn't desired.

This commit moves the platform-specific disabling of jemalloc as hardcoded logic
into the makefiles that is scoped per-platform. This way when configuring
multiple targets **without the `--disable-jemalloc` option specified** all
targets will get jemalloc as they should.
2016-02-25 21:05:59 -08:00
..
aarch64-apple-ios.mk Very hacky MSVC hacks. 2015-05-12 14:50:36 -07:00
aarch64-linux-android.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
aarch64-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
arm-linux-androideabi.mk Splits Android NDK path configuration. 2015-07-28 19:21:04 +12:00
arm-unknown-linux-gnueabi.mk Fix arm-unknown-linux-gnueabi floating-point ABI 2016-01-09 14:25:02 +01:00
arm-unknown-linux-gnueabihf.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
armv7-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
armv7-unknown-linux-gnueabihf.mk Fix the armv7 linux target 2016-01-31 22:26:34 +01:00
armv7s-apple-ios.mk mk: Remove the -mfpu=vfp4 argument from arm iOS 2016-01-27 22:34:26 -08:00
asmjs-unknown-emscripten.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
i386-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
i586-unknown-linux-gnu.mk Add a new i586 Linux target 2016-02-13 17:03:00 +01:00
i686-apple-darwin.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
i686-linux-android.mk New cross target: i686-linux-android 2015-08-23 15:38:11 +08:00
i686-pc-windows-gnu.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
i686-pc-windows-msvc.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08: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 mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
i686-unknown-linux-musl.mk Add support for i686-unknown-linux-musl 2016-02-06 20:56:31 +00:00
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 rustc: Set MIPS cpu/features in the compiler 2016-01-29 23:44:46 -08:00
mips-unknown-linux-musl.mk rustc: set MIPS cpu/features in the compiler 2016-01-30 14:44:40 -05:00
mipsel-unknown-linux-gnu.mk rustc: Set MIPS cpu/features in the compiler 2016-01-29 23:44:46 -08:00
mipsel-unknown-linux-musl.mk rustc: set MIPS cpu/features in the compiler 2016-01-30 14:44:40 -05:00
powerpc64-unknown-linux-gnu.mk mk: Fix compiling jemalloc for powerpc64 2016-01-29 12:23:17 -08:00
powerpc64le-unknown-linux-gnu.mk Add powerpc64 and powerpc64le support 2016-01-13 01:39:00 +00:00
powerpc-unknown-linux-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-apple-darwin.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
x86_64-apple-ios.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
x86_64-pc-windows-gnu.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-pc-windows-msvc.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-rumprun-netbsd.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-sun-solaris.mk Add Illumos support 2016-01-31 18:57:26 +03:00
x86_64-unknown-bitrig.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-unknown-dragonfly.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-unknown-freebsd.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
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 mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00