]> Cypherpunks repositories - gostls13.git/commitdiff
misc/android: fix a typo in README
authorBen Shi <powerman1st@163.com>
Fri, 17 May 2019 03:27:15 +0000 (03:27 +0000)
committerElias Naur <mail@eliasnaur.com>
Fri, 17 May 2019 06:01:17 +0000 (06:01 +0000)
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>
misc/android/README

index 38e7cf41e3c014ca65ab2a8ad42ae0db5589579c..13b59d92f4859e99d7c2d1d1b4edaf6b83fb87f5 100644 (file)
@@ -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