summaryrefslogtreecommitdiffstats
path: root/doc/compile_Linux.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/compile_Linux.md')
-rw-r--r--doc/compile_Linux.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/compile_Linux.md b/doc/compile_Linux.md
index c9347f5..cf99121 100644
--- a/doc/compile_Linux.md
+++ b/doc/compile_Linux.md
@@ -69,9 +69,9 @@
- g++ version 5.1 or higher is required for full C++11 support.
If you want to compile the binary without installing libraries / compiler or just compile binary for some other distribution, please check the [build_xmr-stak_docker.sh script](scripts/build_xmr-stak_docker/build_xmr-stak_docker.sh).
-### To do a static build for a system without gcc 5.1+
+### To do a generic and static build for a system without gcc 5.1+
```
- cmake -DCMAKE_LINK_STATIC=ON .
+ cmake -DCMAKE_LINK_STATIC=ON -DXMR-STAK_COMPILE=generic .
make install
```
Note - cmake caches variables, so if you want to do a dynamic build later you need to specify '-DCMAKE_LINK_STATIC=OFF'
OpenPOWER on IntegriCloud