OSDN Git Service

configure: Default to armasm for --toolchain=msvc when targeting arm
authorMartin Storsjö <martin@martin.st>
Fri, 24 Jul 2015 20:23:29 +0000 (23:23 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 27 Jul 2015 07:45:08 +0000 (10:45 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 5645936..73f4e18 100755 (executable)
--- a/configure
+++ b/configure
@@ -2642,6 +2642,11 @@ case "$toolchain" in
         ld_default="$source_path/compat/windows/mslink"
         nm_default="dumpbin -symbols"
         ar_default="lib"
+        case "$arch" in
+        arm*)
+            as_default="armasm"
+            ;;
+        esac
         target_os_default="win32"
         # Use a relative path for TMPDIR. This makes sure all the
         # ffconf temp files are written with a relative path, avoiding