The host and target word size can be used to determine whether cross compiling certain packages is possible.
7 lines
192 B
Bash
7 lines
192 B
Bash
XBPS_WORDSIZE=64
|
|
XBPS_TARGET_CFLAGS="-march=armv8-a"
|
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
|
XBPS_TARGET_FFLAGS=""
|
|
XBPS_TRIPLET="aarch64-unknown-linux-gnu"
|
|
XBPS_RUST_TARGET="$XBPS_TRIPLET"
|