rust/mk/cfg
Alex Crichton cd980b3bee mk: Add support for musl-based builds
This commit adds support to the makefiles, configuration script, and build
system to understand MUSL. This is broken up into a few parts:

* Any target of the form `*-musl` requires the `--musl-root` option to
  `./configure` which will indicate the root of the MUSL installation. It is
  also expected that there is a libunwind build inside of that installation
  built against that MUSL.

* Objects from MUSL are copied into the build tree for Rust to be statically
  linked into the appropriate Rust library.

* Objects for binary startup and shutdown are included in each Rust installation
  by default for MUSL. This requires MUSL to only be installed on the machine
  compiling rust. Only a linker will be necessary for compiling against MUSL on
  a target machine.

Eventually a MUSL and/or libunwind build may be integrated by default into the
build but for now they are just always assumed to exist externally.
2015-04-27 10:11:15 -07:00
..
aarch64-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
aarch64-linux-android.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
aarch64-unknown-linux-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
arm-linux-androideabi.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
arm-unknown-linux-gnueabi.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07: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
armv7s-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
i386-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
i686-apple-darwin.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
i686-pc-windows-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
i686-unknown-linux-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
mips-unknown-linux-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
mipsel-unknown-linux-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07: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: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-apple-ios.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-pc-windows-gnu.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-unknown-bitrig.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07: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: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00
x86_64-unknown-linux-musl.mk mk: Add support for musl-based builds 2015-04-27 10:11:15 -07:00
x86_64-unknown-openbsd.mk mk: Remove a bunch of unused directives 2015-04-27 09:22:05 -07:00