Revert "cmd/gomobile: avoid -buildmode for go install std"
This reverts commit b84795b494
.
See golang/go#13246
Change-Id: Ie8b89a9ac6e5b6906b3a4de21122d694cf7a2d0a
Reviewed-on: https://go-review.googlesource.com/16917
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
parent
daecc566fd
commit
4f9c718489
|
@ -145,7 +145,7 @@ func runInit(cmd *command) error {
|
|||
|
||||
// Install standard libraries for cross compilers.
|
||||
start := time.Now()
|
||||
if err := installStd(androidArmEnv, "-gcflags=-shared", "-ldflags=-shared"); err != nil {
|
||||
if err := installStd(androidArmEnv, "-buildmode=c-shared"); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := installDarwin(); err != nil {
|
||||
|
|
Loading…
Reference in New Issue