about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-06 07:07:10 +0800
committerGitHub <noreply@github.com>2018-07-06 07:07:10 +0800
commit185fb7b77c4188dc882df8a15471d84f0ae74e57 (patch)
tree4ed6667f3ecad3c7a1a4432c659fbcbb9b351f3b /src/bootstrap
parent2d5a295d518b499360ec05df5447351a1e325846 (diff)
parentdd069ea9f679ebb09685161541c75f6337a64651 (diff)
downloadrust-185fb7b77c4188dc882df8a15471d84f0ae74e57.tar.gz
rust-185fb7b77c4188dc882df8a15471d84f0ae74e57.zip
Rollup merge of #51619 - mksully22:ppc64le_rust, r=alexcrichton
rust: add initial changes to support powerpc64le musl

Initial changes to support rustc building on ppc64le with musl. A PR was also submitted to libc component https://github.com/rust-lang/libc/pull/1023 to add changes to libc musl definitions.

A PR was submitted on Alpine https://github.com/alpinelinux/aports/pull/4549 with equivalent temporary patches for building on Alpine for now.

As a verification test a github project was put together to build ppc64le versions of rustc, rust-stdlib, and cargo on Alpine, https://github.com/mksully22/ppc64le_alpine_rust_1.26.2
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/native.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 7dcdbe9c931..93b8880a900 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -631,6 +631,7 @@ impl Step for Openssl {
             "powerpc-unknown-netbsd" => "BSD-generic32",
             "powerpc64-unknown-linux-gnu" => "linux-ppc64",
             "powerpc64le-unknown-linux-gnu" => "linux-ppc64le",
+            "powerpc64le-unknown-linux-musl" => "linux-ppc64le",
             "s390x-unknown-linux-gnu" => "linux64-s390x",
             "sparc-unknown-linux-gnu" => "linux-sparcv9",
             "sparc64-unknown-linux-gnu" => "linux64-sparcv9",