From 2ac38eb88bdd92eafe93d4438801917c484ba6d1 Mon Sep 17 00:00:00 2001 From: JayDDee Date: Tue, 17 Dec 2024 13:14:56 -0500 Subject: [PATCH] Updated Compiling from source (markdown) --- Compiling-from-source.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Compiling-from-source.md b/Compiling-from-source.md index 5f5f3c9..df40030 100644 --- a/Compiling-from-source.md +++ b/Compiling-from-source.md @@ -157,7 +157,7 @@ On ARM CPUS add: There is a segfault issue (#440) with Windows on ARM. If the miner crashes with a segfault recompile with the following additional CFLAG: "-DARM_WIN_HACK" -Running build-msys2.sh (x86_64 only) script will compile with the above options and should be used in most cases: +Running build-msys2.sh (x86_64 only) script will compile with the default options and should be used in most cases: `$ ./build-msys2.sh` @@ -165,11 +165,11 @@ There is no build script for ARM CPUs, use these commands adjusting the options `$ ./autogen.sh` -x86_64 CPU (Intel & AMD): +For x86_64 CPU (Intel & AMD): `$ CFLAGS="-O3 -march=native -Wall -D_WIN32_WINNT=0x0601" ./configure --with-curl` -aarch64, add "-DARM_WIN_HACK" if necessary: +For AArch64 CPU, add "-DARM_WIN_HACK" if necessary: `$ CFLAGS="-O3 -march=native -Wall -D_WIN32_WINNT=0x0601 -flax_vector_conversions" ./configure --with-curl`