diff --git a/Mac/Tools/pythonw.c b/Mac/Tools/pythonw.c index c8bd3ba8d68c15..b9aac11e86453b 100644 --- a/Mac/Tools/pythonw.c +++ b/Mac/Tools/pythonw.c @@ -121,6 +121,8 @@ setup_spawnattr(posix_spawnattr_t* spawnattr) cpu_types[0] = CPU_TYPE_POWERPC; #elif defined(__i386__) cpu_types[0] = CPU_TYPE_X86; +#elif defined(__arm64__) + cpu_types[0] = CPU_TYPE_ARM64; #else # error "Unknown CPU" #endif diff --git a/Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst b/Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst new file mode 100644 index 00000000000000..a7a063f7b7bdea --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2020-07-01-19-03-26.bpo-41100.nrC7wk.rst @@ -0,0 +1 @@ +pythonw: add arm64 support \ No newline at end of file