Skip to content

Commit 614b730

Browse files
joefernandezAndroid (Google) Code Review
authored andcommitted
Merge "doc: fix for NDK r8b release notes" into jb-dev
2 parents a13730f + eef8340 commit 614b730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/html/tools/sdk/ndk/index.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ MIPS.</li>
161161
co-exist with the original GCC 4.4.3 toolchain ({@code binutils} 2.19 and GDB 6.6).</p>
162162
<ul>
163163
<li>GCC 4.6 is now the default toolchain. You may set {@code
164-
NDK_TOOLCHAIN_VERSION=4.4.3} in {@code Android.mk} to select the original one.</li>
164+
NDK_TOOLCHAIN_VERSION=4.4.3} in {@code Application.mk} to select the original one.</li>
165165
<li>Support for the {@code gold} linker is only available for ARM and x86
166166
architectures on Linux and Mac OS hosts. This support is disabled by default. Add {@code
167-
LOCAL_C_FLAGS += -fuse-ld=gold} in {@code Android.mk} to enable it.</li>
167+
LOCAL_LDLIBS += -fuse-ld=gold} in {@code Android.mk} to enable it.</li>
168168
<li>Programs compiled with {@code -fPIE} require the new {@code GDB} for debugging,
169169
including binaries in Android 4.1 (API Level 16) system images.</li>
170170
<li>The {@code binutils} 2.21 {@code ld} tool contains back-ported fixes from

0 commit comments

Comments
 (0)