Skip to content

Commit

Permalink
Merge pull request #402 from Kaiede/i686Support
Browse files Browse the repository at this point in the history
Linux i686 Build Support
  • Loading branch information
compnerd committed Oct 16, 2018
2 parents 0710b29 + b63fae8 commit e99de71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/SwiftSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function(get_swift_host_arch result_var_name)
set("${result_var_name}" "itanium" PARENT_SCOPE)
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86")
set("${result_var_name}" "i686" PARENT_SCOPE)
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686")
set("${result_var_name}" "i686" PARENT_SCOPE)
else()
message(FATAL_ERROR "Unrecognized architecture on host system: ${CMAKE_SYSTEM_PROCESSOR}")
endif()
Expand Down

0 comments on commit e99de71

Please sign in to comment.