void-packages/common/build-helper
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
..
cmake-wxWidgets-gtk3.sh common: Add new cmake-wxWidgets-gtk3 build-helper 2020-12-30 17:58:36 +01:00
gir.sh
numpy.sh
qemu.sh
qmake.sh
rust.sh build-helper/rust: define HOST_CC and HOST_CFLAGS 2021-02-04 00:33:41 -05:00