nroi / flexo

a central pacman cache
MIT License
172 stars 10 forks source link

cross-building for ARM requires changes on Cargo.toml #80

Closed nroi closed 2 years ago

nroi commented 2 years ago

As described here, building Flexo for ARM devices like the Raspberry Pi using cross requires changes on Cargo.toml. In particular, the following needs to be added:

openssl = { version = "0.10", features = ["vendored"] }

so that the project can be built with cross:

cross build --release --target armv7-unknown-linux-gnueabihf

Thanks @pidario for pointing this out.

We should either change the Cargo.toml file, or add a section to the README to describe how to build Flexo using cross.