Skip to content

Commit 90a84a1

Browse files
Merge pull request #490 from vgorloff/macos-to-android-crosscompile
Android CrossCompile on Mac: Fixes Cmake error "Unrecognized architecture on host system: armv7-a"
2 parents e8d020e + 83bf521 commit 90a84a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/SwiftSupport.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ function(get_swift_host_arch result_var_name)
232232
set("${result_var_name}" "s390x" PARENT_SCOPE)
233233
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv6l")
234234
set("${result_var_name}" "armv6" PARENT_SCOPE)
235+
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7-a")
236+
set("${result_var_name}" "armv7" PARENT_SCOPE)
235237
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7l")
236238
set("${result_var_name}" "armv7" PARENT_SCOPE)
237239
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "AMD64")

0 commit comments

Comments
 (0)