aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-src_bootstrap_bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/files/patch-src_bootstrap_bootstrap.py')
-rw-r--r--lang/rust/files/patch-src_bootstrap_bootstrap.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/lang/rust/files/patch-src_bootstrap_bootstrap.py b/lang/rust/files/patch-src_bootstrap_bootstrap.py
index 732d6f3b09eb..d566541784b5 100644
--- a/lang/rust/files/patch-src_bootstrap_bootstrap.py
+++ b/lang/rust/files/patch-src_bootstrap_bootstrap.py
@@ -1,16 +1,5 @@
--- src/bootstrap/bootstrap.py.orig 2019-01-16 09:30:27 UTC
+++ src/bootstrap/bootstrap.py
-@@ -240,6 +240,10 @@ def default_build_triple():
- err = "unknown OS type: {}".format(ostype)
- sys.exit(err)
-
-+ if cputype == 'powerpc' and ostype == 'unknown-freebsd':
-+ cputype = subprocess.check_output(
-+ ['uname', '-p']).strip().decode(default_encoding)
-+
- cputype_mapper = {
- 'BePC': 'i686',
- 'aarch64': 'aarch64',
@@ -269,6 +273,10 @@ def default_build_triple():
cputype = 'arm'
if ostype == 'linux-android':