Skip to content

Commit

Permalink
Portable Build Flag Fix
Browse files Browse the repository at this point in the history
Updated go install command for portable install as the previous command can cause SIGILL crash for illegal instruction.  Fix proposed at FlashBots repo (https://github.com/flashbots/mev-boost#installing) and issue (flashbots/mev-boost#256).
  • Loading branch information
calamenium committed Aug 30, 2022
1 parent c678b3b commit 5f73980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare-for-the-merge.md
Expand Up @@ -284,7 +284,7 @@ And restart the service(s) you changed: `sudo systemctl restart SERVICENAME`
When a new version is released, you can update mev-boost.

```console
$ CGO_CFLAGS="-O -DBLST_PORTABLE" go install github.com/flashbots/mev-boost@latest
$ CGO_CFLAGS=-"O -D__BLST_PORTABLE__" go install github.com/flashbots/mev-boost@latest
$ sudo cp ~/go/bin/mev-boost /usr/local/bin
$ sudo chown mevboost:mevboost /usr/local/bin/mev-boost
```
Expand Down

0 comments on commit 5f73980

Please sign in to comment.