From 1772383ca0fc51f557a15b5b43fc98a2310ba6a0 Mon Sep 17 00:00:00 2001
From: George Hotz <geohot@gmail.com>
Date: Sat, 21 Nov 2020 13:49:32 -0800
Subject: [PATCH] Add arm64 support for Apple Silicon

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 2bb4252a..bf63e71c 100644
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@ def get_config_schema():
         default_libs = []
         default_cxxflags = default_cxxflags + [
                 "-stdlib=libc++", "-mmacosx-version-min=10.7",
-                "-arch', 'i386", "-arch", "x86_64"
+                "-arch', 'i386", "-arch", "x86_64", "-arch", "arm64",
                 ]
 
         from os.path import isdir
-- 
GitLab