mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:19:47 +00:00
[build] Use flutter/engine rules for linking against atomic library.
Don't need to explicitly specify atomic library when using clang. Fixes b/210496462 TEST=manual build, ci Change-Id: I18d9e1f17541fad0a0bc28ab046bb79805c0da9f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224000 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
53e64e2dc2
commit
55f21df0c0
|
@ -56,7 +56,10 @@ config("libdart_vm_config") {
|
|||
if (!is_android) {
|
||||
libs += [ "pthread" ]
|
||||
}
|
||||
if (!is_mac && !is_ios) {
|
||||
|
||||
# Clang with libc++ does not require an explicit atomic library reference.
|
||||
# (similar to https://github.com/flutter/buildroot/blob/master/build/config/compiler/BUILD.gn#L562)
|
||||
if (!is_clang) {
|
||||
libs += [ "atomic" ]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue