[2/2] configure: Pass the right machine types to dlltool for arm and arm64 mingw

Message ID 20180216221923.89541-2-martin@martin.st
State Committed
Commit cc1c94dacd0642ac1a6cad45deb65071f127d91a
Headers show
Series
  • [1/2] Revert "configure: Stop using dlltool to create an import library"
Related show

Commit Message

Martin Storsjö Feb. 16, 2018, 10:19 p.m.
These are supported by llvm-dlltool.
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/configure b/configure
index 06fb839a18..1c35f9dc64 100755
--- a/configure
+++ b/configure
@@ -3894,6 +3894,10 @@  case $target_os in
         LIBTARGET=i386
         if enabled x86_64; then
             LIBTARGET="i386:x86-64"
+        elif enabled arm; then
+            LIBTARGET="arm"
+        elif enabled aarch64; then
+            LIBTARGET="arm64"
         fi
         if enabled shared; then
             # Cannot build both shared and static libs when using dllimport.