From da3102c0819d791d7eb5bb8d243126b17022fefc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sun, 27 Sep 2020 00:49:22 +0200 Subject: [PATCH] README: building a static binary --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8f305848c..40a8c45d4 100644 --- a/README.md +++ b/README.md @@ -477,6 +477,12 @@ make NIMFLAGS="-d:disableMarchNative" beacon_node make NIMFLAGS="-d:disableLTO" beacon_node ``` +- build a static binary + +```bash +make NIMFLAGS="--passL:-static" beacon_node +``` + - publish a book using [mdBook](https://github.com/rust-lang/mdBook) from sources in "docs/" to GitHub pages: ```bash