Skip to content

Commit

Permalink
build: gomobile automaticall adds the ios tag, don't duplicate (ether…
Browse files Browse the repository at this point in the history
…eum#779)

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
  • Loading branch information
jeanregisser and karalabe committed Jan 9, 2020
1 parent a7a6ca5 commit c368910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ func doXCodeFramework(cmdline []string) {
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind"))
// Patch gomobile to disable bitcode for now (rust generated bls lib output is not compatible)
build.MustRunCommand("sed", "-i", "", `/^[[:space:]]*cflags += \" -fembed-bitcode\"$/s/^/\/\//`, filepath.Join(build.GOPATH(), "src/golang.org/x/mobile/cmd/gomobile/env.go"))
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "--tags", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")

if *local {
// If we're building locally, use the build folder and stop afterwards
Expand Down

0 comments on commit c368910

Please sign in to comment.