Skip to content

Commit

Permalink
Strip binaries - Update build-unix.md
Browse files Browse the repository at this point in the history
  • Loading branch information
koh-gt authored Sep 22, 2024
1 parent b7e1536 commit 8a8c0ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc/build-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ sudo apt install ./libfmt-dev_9.1.0+ds1-2_amd64.deb
To Build (64 bit x86 Ubuntu Linux)
---------------------
```bash
sudo chmod +x -R ferrite-core-main
cd ferrite-core-main
sudo chmod +x -R ferrite-core-ferrite-main
cd ferrite-core-ferrite-main
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')
./autogen.sh
./configure --prefix=/ --with-incompatible-bdb --with-miniupnpc --enable-upnp-default --with-natpmp --disable-tests --disable-shared
make -j$(nproc) # -j4 represents 4 threads being used
./configure --prefix=/ --with-incompatible-bdb --with-miniupnpc --enable-upnp-default --with-natpmp --disable-tests --disable-shared --enable-static
make -j$(nproc) STATIC=all # -j4 represents 4 threads being used
strip src/ferrite-cli src/ferrited src/ferrite-tx src/ferrite-wallet src/qt/ferrite-qt
make install # optional
```

Expand Down

0 comments on commit 8a8c0ea

Please sign in to comment.