1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-28 17:51:44 +00:00

Enabled build target aarch64-unknown-linux-gnu for arm64 architecture

This commit is contained in:
rachitchokshi
2018-09-08 14:23:14 -07:00
committed by David Peter
parent d6c8fee044
commit 1b6df8a480
4 changed files with 17 additions and 2 deletions
+8
View File
@@ -27,3 +27,11 @@ if [[ $TARGET == arm-unknown-linux-gnueabihf ]]; then
libc6-armhf-cross \
libc6-dev-armhf-cross
fi
# needed for cross-compiling for arm64
if [[ $TARGET == aarch64-unknown-linux-gnu ]]; then
sudo apt-get install -y \
gcc-4.8-aarch64-linux-gnu \
binutils-aarch64-linux-gnu \
gcc-aarch64-linux-gnu
fi