Skip to content

Commit

Permalink
misc/android: fix a typo in README
Browse files Browse the repository at this point in the history
A cross C compiler should be specified when cross building go
for android on x86 host. This CL fixes the typo in README.

Change-Id: Ideda915364d9f7f0fcd53146abc1e74506a8a8e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/177777
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Elias Naur <mail@eliasnaur.com>
  • Loading branch information
benshi001 authored and eliasnaur committed May 17, 2019
1 parent 29f14f0 commit 9be2d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/android/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9be2d46

Please sign in to comment.