diff --git a/docs/html/ndk/guides/cpp-support.jd b/docs/html/ndk/guides/cpp-support.jd index b340eade5dd16..173af28691b06 100644 --- a/docs/html/ndk/guides/cpp-support.jd +++ b/docs/html/ndk/guides/cpp-support.jd @@ -186,7 +186,7 @@ NDK to rebuild {@code libc++} from sources by adding the following line to your LIBCXX_FORCE_REBUILD := true -

atomic support

+

Atomic support

If you include {@code <atomic>}, it's likely that you also need {@code libatomic}. If you are using {@code ndk-build}, add the following line:

@@ -201,10 +201,6 @@ LOCAL_LDLIBS += -latomic -latomic -

Note: {@code -latomic} is only available for GCC 4.8. -Because Clang 3.5 and Clang 3.6 use GCC 4.8's headers and libraries, as well as its -{@code as} and {@code ld} options, those versions of Clang also get {@code -latomic}.

-

Compatibility