Skip to content

Commit

Permalink
Fix arm32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Jul 10, 2023
1 parent e1a3f86 commit 159e90b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.arm-unknown-linux-gnueabihf]
rustflags = ["-l", "atomic"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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++ \
Expand Down

2 comments on commit 159e90b

@marsam
Copy link

@marsam marsam commented on 159e90b Jul 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I think the tag 2.2.0 may not be correct, since the previous one is 2.2.1

image

@ikatson
Copy link
Owner Author

@ikatson ikatson commented on 159e90b Jul 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @marsam, because initially both 2.2.0 and 2.2.1 were broken (they couldn't build because of arm32 issues), I deleted those releases and overwrote 2.2.0 tag. Just deleted 2.2.1 tag so that it's not confusing

Please sign in to comment.