diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 00000000..0aca9d92 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[target.arm-unknown-linux-gnueabihf] +rustflags = ["-l", "atomic"] \ No newline at end of file diff --git a/Makefile b/Makefile index aa22be11..a50377ef 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ release-linux: release-linux-x86_64 release-linux-aarch64 release-linux-x86_64: target/openssl-linux/x86_64/lib/libssl.a # prereqs: # brew tap messense/macos-cross-toolchains - # brew install x86_64-unknown-linux-gnu armv7-unknown-linux-gnueabihf aarch64-unknown-linux-gnu + # brew install x86_64-unknown-linux-gnu arm-unknown-linux-gnueabihf aarch64-unknown-linux-gnu # cross-compile openssl with "no-shared", see above CC_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-gcc \ CXX_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-g++ \