Created
August 29, 2016 19:08
-
-
Save leon-anavi/ec806ffaf7bfaf263ee1352fcfe883c5 to your computer and use it in GitHub Desktop.
rust 1.8.0 for i586
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mk/main.mk | |
| # Don't trust stage0, be explicit about libraries | |
| # TODO: rather than specifying sysroot, we really want to tell which libdir to | |
| # use (ie: the dir containing 'rustlib'). This would allow us to avoid | |
| # passing the '-L' options. | |
| ifeq ($(1),0) | |
| #RUSTFLAGS_S_$(1)_T_$(2)_H_$(3) += --sysroot "$$(HROOT$(1)_H_$(3))" \ | |
| # -L "$$(TLIB$(1)_T_$(2)_H_$(3))" | |
| endif | |
| leon@leon-desktop-G1:/media/storage/rust-i586/rust8$ git diff src/etc/snapshot.py | |
| diff --git a/src/etc/snapshot.py b/src/etc/snapshot.py | |
| index 81babf9..7d8855a 100644 | |
| --- a/src/etc/snapshot.py | |
| +++ b/src/etc/snapshot.py | |
| @@ -114,7 +114,7 @@ def get_kernel(triple): | |
| def get_cpu(triple): | |
| arch = triple.split('-')[0] | |
| - if arch == "i686": | |
| + if arch == "i686" or arch == "i586": | |
| return "i386" | |
| return arch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment