Skip to content

Commit b63fae8

Browse files
committed
Linux i686 Build Support
This unblocks building on 32-bit Linux using the i686 triple.
1 parent 6162a1d commit b63fae8

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
@@ -101,6 +101,8 @@ function(get_swift_host_arch result_var_name)
101101
set("${result_var_name}" "itanium" PARENT_SCOPE)
102102
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86")
103103
set("${result_var_name}" "i686" PARENT_SCOPE)
104+
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686")
105+
set("${result_var_name}" "i686" PARENT_SCOPE)
104106
else()
105107
message(FATAL_ERROR "Unrecognized architecture on host system: ${CMAKE_SYSTEM_PROCESSOR}")
106108
endif()

0 commit comments

Comments
 (0)