From 59daf3559d10e36d3ced833e26f1c67b77a5bc85 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 7 Apr 2016 17:14:07 -0700 Subject: [PATCH] Remove obsolete note about libatomic. There's only one GCC in any given NDK release, and it always has libatomic. Change-Id: Ifbdc10961c711a6ce27eab60ca2751a04a358a13 --- docs/html/ndk/guides/cpp-support.jd | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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