cmd/gomobile: 5a is gone.
See https://go-review.googlesource.com/6366 fixes golang/go#10056 Change-Id: If518d69398df0393feadf6b5d8c56da89a201090 Reviewed-on: https://go-review.googlesource.com/6482 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
496a9d6d05
commit
614540a6db
|
@ -194,7 +194,7 @@ func runInit(cmd *command) error {
|
|||
|
||||
// Move the Go cross compiler toolchain into GOPATH.
|
||||
gotoolsrc := filepath.Join(tmpGoroot, "pkg", "tool", goos+"_"+goarch)
|
||||
tools := []string{"5a", "5l", "5g", "cgo", "nm", "pack", "link"}
|
||||
tools := []string{"5l", "5g", "asm", "cgo", "nm", "pack", "link"}
|
||||
for i, name := range tools {
|
||||
tools[i] = bin(name)
|
||||
}
|
||||
|
|
|
@ -83,9 +83,9 @@ ln -s $NDKCCPATH/arm/bin/arm-linux-androideabi-as $NDKCCPATH/arm/arm-linux-andro
|
|||
ln -s $NDKCCPATH/arm/bin/arm-linux-androideabi-gcc $NDKCCPATH/arm/arm-linux-androideabi/bin/gcc
|
||||
ln -s $NDKCCPATH/arm/bin/arm-linux-androideabi-g++ $NDKCCPATH/arm/arm-linux-androideabi/bin/g++
|
||||
PATH=$PATH GOOS=android GOARCH=arm GOARM=7 CGO_ENABLED=1 CC_FOR_TARGET=$NDKCCPATH/arm/bin/arm-linux-androideabi-gcc CXX_FOR_TARGET=$NDKCCPATH/arm/bin/arm-linux-androideabi-g++ TMPDIR=$WORK HOME=$HOME $WORK/go/src/make.bash --no-clean
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/5a $NDKCCPATH/arm/bin/5a
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/5l $NDKCCPATH/arm/bin/5l
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/5g $NDKCCPATH/arm/bin/5g
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/asm $NDKCCPATH/arm/bin/asm
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/cgo $NDKCCPATH/arm/bin/cgo
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/nm $NDKCCPATH/arm/bin/nm
|
||||
mv $WORK/go/pkg/tool/{{.GOOS}}_{{.GOARCH}}/pack $NDKCCPATH/arm/bin/pack
|
||||
|
|
Loading…
Reference in New Issue