Commit graph

8 commits

Author SHA1 Message Date
Andrew J. Hesford
2f5e5f1e5e build-helper/rust: define HOST_CC and HOST_CFLAGS
The cc-rs crate will try to guess the host compiler and use default
flags these are not specifically set. The default behavior is wrong in
Void cross-compilation environments. Explicitly define HOST_CC=gcc and
use innocuous HOST_CFLAGS=-O2 just to thwart the bad defaults.

Co-authored-by: Érico Rolim <erico.erc@gmail.com>
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>

Closes: #28416.
2021-02-04 00:33:41 -05:00
Artur Sinila
b0b2053e4c common/build-helper/rust.sh: dynamic linking to libpcre2 on musl 2020-10-15 03:09:51 -03:00
Érico Rolim
46ab04b8d1 common/build-helper/rust.sh: force native SSL lib
The OPENSSL_NO_VENDOR environment variable forces the openssl-sys crate
to use the system's SSL library instead of building its own.
2020-05-31 21:03:45 +02:00
q66
7f97e7c382 libgit2: update to 1.0.0 2020-05-04 16:18:57 +02:00
John
4a967a96da common/rust.sh: set CARGO_HOME to /host/cargo
currently cargo chaches everything in /tmp/.cargo and is not shared
between masterdirs
2019-12-14 11:25:59 +01:00
Johannes
ed80967b9d build-helper/rust: add variables for sodium-sys 2019-06-16 21:40:08 +02:00
Johannes
026ebc069e common: unset rust-cross specific variables for native builds 2019-02-08 19:16:39 +01:00
maxice8
b287b66c83
build-helper/rust.sh: Add 2019-01-25 20:44:42 -02:00