Skip to content
Snippets Groups Projects
Verified Commit 757c61e2 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add support for aarch64

parent 4416fc29
No related branches found
No related tags found
No related merge requests found
[target.aarch64-unknown-redox]
linker = "aarch64-unknown-redox-gcc"
rustflags = []
[target.x86_64-unknown-redox] [target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc" linker = "x86_64-unknown-redox-gcc"
rustflags = [] rustflags = []
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
set -e set -e
# Configuration # Configuration
ARCH=x86_64 if [ -z "${TARGET}" ]
export TARGET=$ARCH-unknown-redox then
HOST=$TARGET export TARGET=x86_64-unknown-redox
fi
ARCH="${TARGET%%-*}"
HOST="$TARGET"
# Automatic variables # Automatic variables
ROOT="$(cd `dirname "$0"` && pwd)" ROOT="$(cd `dirname "$0"` && pwd)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment