Add support for arm 64

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-05-31 20:57:33 +02:00
1 parent 58e74a0cf0
commit 39e4ddd006
4 files changed
+43 -7

No files matched your search

+9 -1
View File
@@ -20,6 +20,14 @@ if [ -z "$SYSROOT" ]; then
export CC=$(find $KONAN/dependencies -wholename *${ARCH/_/-}/bin/*$GCC | head -n1)
;;
**Linux*aarch64**)
echo "Linux ARM env"
GCC=${GCC:-gcc}
GCC=gcc
export CC=$(find $KONAN/dependencies -wholename *${ARCH/_/-}/bin/*$GCC | head -n1)
;;
**Darwin*x86_64**)
echo "Darwin env"
GCC=${GCC:-clang}
@@ -39,4 +47,4 @@ if [ -z "$SYSROOT" ]; then
echo $CC
fi
./configure --prefix=$PREFIX "$@"
./configure --prefix=$PREFIX "$@"