diff options
author | Paul Monson <paulmon@users.noreply.github.com> | 2019-08-07 11:57:45 -0700 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2019-08-07 14:57:45 -0400 |
commit | c2a6859012d928b67a83619bd5087674a96b9254 (patch) | |
tree | 391b6fe88d9d3f75301f59face9d6051e8c4f1dd /configure.host | |
parent | e0b4f84fb71c6760068c9d1306e77c9382e76d8d (diff) | |
download | libffi-c2a6859012d928b67a83619bd5087674a96b9254.tar.gz |
fix mingw build and crashing bugs for Python Windows ARM64 (#496)
* fix mingw build and crashing bugs for Python Windows ARM64
* Fix issues found in PR review
Diffstat (limited to 'configure.host')
-rw-r--r-- | configure.host | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.host b/configure.host index 8181a61..6762eba 100644 --- a/configure.host +++ b/configure.host @@ -6,6 +6,11 @@ # THIS TABLE IS SORTED. KEEP IT THAT WAY. # Most of the time we can define all the variables all at once... case "${host}" in + aarch64*-*-cygwin* | aarch64*-*-mingw* | aarch64*-*-win* ) + TARGET=ARM_WIN64; TARGETDIR=aarch64 + MSVC=1 + ;; + aarch64*-*-*) TARGET=AARCH64; TARGETDIR=aarch64 SOURCES="ffi.c sysv.S" @@ -250,6 +255,9 @@ case "${TARGET}" in ARM_WIN32) SOURCES="ffi.c sysv_msvc_arm32.S" ;; + ARM_WIN64) + SOURCES="ffi.c win64_armasm.S" + ;; MIPS) SOURCES="ffi.c o32.S n32.S" ;; |