Index: build/config/android/BUILD.gn |
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
index ea55411920e986b574ef9356eb4cb004e7669914..2c6e5f2156383abe1d02e95478b2dc91ac6c9672 100644 |
--- a/build/config/android/BUILD.gn |
+++ b/build/config/android/BUILD.gn |
@@ -150,7 +150,7 @@ config("runtime_library") { |
] |
# Clang with libc++ does not require an explicit atomic library reference. |
- if (!is_clang) { |
+ if (!is_clang || (current_cpu == "arm" && arm_version == 6)) { |
libs += [ "atomic" ] |
} |