aboutsummaryrefslogtreecommitdiff
path: root/misc/android/README
diff options
context:
space:
mode:
Diffstat (limited to 'misc/android/README')
-rw-r--r--misc/android/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/android/README b/misc/android/README
index 38e7cf41e3..13b59d92f4 100644
--- a/misc/android/README
+++ b/misc/android/README
@@ -12,7 +12,7 @@ C compiler from the Android NDK. For example,
CGO_ENABLED=1 \
GOOS=android \
GOARCH=arm64 \
- CC=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang \
+ CC_FOR_TARGET=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang \
./all.bash
To run tests on the Android device, add the bin directory to PATH so the