Skip to content

Commit 2c43247

Browse files
authored
Merge pull request swiftlang#38568 from drexin/wip-android-libatomic
[Concurrency] Remove libatomic dependency for Android
2 parents d4a0ccd + 38c86fc commit 2c43247

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@ if(SWIFT_CONCURRENCY_USES_DISPATCH)
2929
endif()
3030
endif()
3131

32-
# Linux requires us to link an atomic library to use atomics.
33-
# Frustratingly, in many cases this isn't necessary because the
34-
# sequence is inlined, but we have some code that's just subtle
35-
# enough to turn into runtime calls.
36-
if(SWIFT_HOST_VARIANT STREQUAL "android")
37-
list(APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS
38-
-latomic)
39-
endif()
40-
4132
add_swift_target_library(swift_Concurrency ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
4233
../CompatibilityOverride/CompatibilityOverride.cpp
4334
Actor.cpp

0 commit comments

Comments
 (0)