Add support for arm 64
This commit is contained in:
1 parent
58e74a0cf0
commit
39e4ddd006
4 files changed
+43
-7
No files matched your search
Vendored
+9
-1
@@ -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 "$@"
|
||||
Reference in new issue
Block a user