Skip to content

Commit ee61662

Browse files
committed
[android][CMake] Enable inline bridging when building the compiler for Android
1 parent 46c9a58 commit ee61662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,9 @@ set(SWIFT_STDLIB_MSVC_RUNTIME_LIBRARY
414414

415415

416416
if(BRIDGING_MODE STREQUAL "DEFAULT" OR NOT BRIDGING_MODE)
417-
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR "${SWIFT_HOST_VARIANT_SDK}" MATCHES "WINDOWS|ANDROID" OR (CMAKE_Swift_COMPILER AND CMAKE_Swift_COMPILER_VERSION VERSION_LESS 5.8))
417+
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR "${SWIFT_HOST_VARIANT_SDK}" STREQUAL "WINDOWS" OR (CMAKE_Swift_COMPILER AND CMAKE_Swift_COMPILER_VERSION VERSION_LESS 5.8))
418418
# In debug builds, to workaround a problem with LLDB's `po` command (rdar://115770255).
419-
# On Windows and Android, to workaround a build problem.
419+
# On Windows, to workaround a build problem.
420420
# If the host Swift version is less than 5.8, use pure mode to workaround a C++ interop compiler crash.
421421
set(BRIDGING_MODE "PURE")
422422
else()

0 commit comments

Comments
 (0)