diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-11-12 21:32:53 +0100 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-11-12 21:32:53 +0100 |
commit | fa752284bbbc5bbc01cd79b9ed4986c149e2b926 (patch) | |
tree | 830b6c971a6caf945de369b8aa5afabf21331265 /doc/compile_Linux.md | |
parent | 22039b2a8755e73fb812e6fa34b75d5665ab10de (diff) | |
download | xmr-stak-fa752284bbbc5bbc01cd79b9ed4986c149e2b926.zip xmr-stak-fa752284bbbc5bbc01cd79b9ed4986c149e2b926.tar.gz |
native compile by default
- add CMake flag `XMRSTAK_COMPILE` to select `native` or `static` compile
- add new flags to the documentation
Diffstat (limited to 'doc/compile_Linux.md')
-rw-r--r-- | doc/compile_Linux.md | 4 |
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' |