aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-src_bootstrap_bootstrap.py
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-04-11 19:39:28 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-04-11 19:39:28 +0000
commit67b6dd1b42589ea8ca3f51de5b652fe2d8efe668 (patch)
treef4c6e19cb8923b0d6c167e65a921d94116152de8 /lang/rust/files/patch-src_bootstrap_bootstrap.py
parent8443d3eb7ed3b0810c252bb3d0138dcb165d6d83 (diff)
Notes
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':