summaryrefslogtreecommitdiff
path: root/configure.host
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-04-26 04:58:58 -0700
committerAnthony Green <green@moxielogic.com>2019-04-26 07:58:58 -0400
commitdb5706ff285c476aa3c0f811ff2b188319ac3ebe (patch)
treed9c85a3b029aadc52d8fcda64f783b8d5ebf2d28 /configure.host
parentd1e9b4b96cc8d237c3532cf83da0d4b99d19abb5 (diff)
downloadlibffi-db5706ff285c476aa3c0f811ff2b188319ac3ebe.tar.gz
add support for 32-bit ARM on Windows (#477)
* add support for 32-bit ARM on Windows * fix mismatched brace in appveyor.yml * remove arm platform from appveyor.yml for now * fix arm build * fix typo * fix assembler names * try Visual Studio 2017 * add windows arm32 to .appveyor.yml * update README.md
Diffstat (limited to 'configure.host')
-rw-r--r--configure.host8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.host b/configure.host
index 64addf2..8181a61 100644
--- a/configure.host
+++ b/configure.host
@@ -23,6 +23,11 @@ case "${host}" in
SOURCES="ffi.c arcompact.S"
;;
+ arm*-*-cygwin* | arm*-*-mingw* | arm*-*-win* )
+ TARGET=ARM_WIN32; TARGETDIR=arm
+ MSVC=1
+ ;;
+
arm*-*-*)
TARGET=ARM; TARGETDIR=arm
SOURCES="ffi.c sysv.S"
@@ -242,6 +247,9 @@ esac
# ... but some of the cases above share configury.
case "${TARGET}" in
+ ARM_WIN32)
+ SOURCES="ffi.c sysv_msvc_arm32.S"
+ ;;
MIPS)
SOURCES="ffi.c o32.S n32.S"
;;