Skip to content

Commit

Permalink
fix: var -DBUILD_STATIC=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Jan 8, 2022
1 parent 558e631 commit 313539d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export ARCH=`uname -m`
export XMRIG_VERSION="v6.15.3"
export XMRIG_URL="https://github.com/xmrig/xmrig.git"
export CMAKE_FLAGS="-DXMRIG_DEPS=scripts/deps -DCMAKE_BUILD_TYPE=Release -DWITH_OPENCL=OFF"
export CMAKE_FLAGS="-DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON -DCMAKE_BUILD_TYPE=Release -DWITH_OPENCL=OFF"

if [[ "$ARCH" == *"aarch64"* ]]; then
git clone --single-branch --depth 1 --branch=$XMRIG_VERSION $XMRIG_URL
Expand Down

0 comments on commit 313539d

Please sign in to comment.