Skip to content

Commit 70a4498

Browse files
authored
Merge pull request #77163 from swiftlang/egorzhdan/cxx-watch-32bit
[build] Keep building Cxx binary for 32-bit watchOS
2 parents 6754918 + 5b2fd17 commit 70a4498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/modules/SwiftConfigureSDK.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ function(remove_sdk_unsupported_archs name os sdk_path deployment_version archit
8787
# 32-bit iOS simulator is not listed explicitly in SDK settings.
8888
message(STATUS "Assuming ${name} SDK at ${sdk_path} supports architecture ${arch}")
8989
list(APPEND architectures ${arch})
90-
elseif(arch STREQUAL "armv7k" AND os STREQUAL "watchos" AND deployment_version VERSION_LESS "9.0")
90+
elseif(arch STREQUAL "armv7k" AND os STREQUAL "watchos")
9191
# 32-bit watchOS is not listed explicitly in SDK settings.
9292
message(STATUS "Assuming ${name} SDK at ${sdk_path} supports architecture ${arch}")
9393
list(APPEND architectures ${arch})
94-
elseif(arch STREQUAL "i386" AND os STREQUAL "watchsimulator" AND deployment_version VERSION_LESS "7.0")
94+
elseif(arch STREQUAL "i386" AND os STREQUAL "watchsimulator")
9595
# 32-bit watchOS simulator is not listed explicitly in SDK settings.
9696
message(STATUS "Assuming ${name} SDK at ${sdk_path} supports architecture ${arch}")
9797
list(APPEND architectures ${arch})

0 commit comments

Comments
 (0)