mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-25 13:15:12 +02:00
The host and target word size can be used to determine whether cross compiling certain packages is possible.
6 lines
230 B
Bash
6 lines
230 B
Bash
XBPS_WORDSIZE=32
|
|
XBPS_TARGET_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
|
XBPS_TARGET_FFLAGS=""
|
|
XBPS_TRIPLET="armv6l-linux-musleabihf"
|
|
XBPS_RUST_TARGET="arm-unknown-linux-musleabihf"
|