Skip to content

Commit f2e0ebf

Browse files
Kaiederokhinip
authored andcommitted
Linux i686 Build Support
This unblocks building on 32-bit Linux using the i686 triple. Signed-off-by: Kim Topley <[email protected]>
1 parent 1ce501c commit f2e0ebf

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)