mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-28 06:35:24 +02:00
The host and target word size can be used to determine whether cross compiling certain packages is possible.
6 lines
243 B
Bash
6 lines
243 B
Bash
XBPS_WORDSIZE=64
|
|
XBPS_TARGET_CFLAGS="-mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -mabi=elfv2"
|
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
|
XBPS_TARGET_FFLAGS=""
|
|
XBPS_TRIPLET="powerpc64-unknown-linux-musl"
|
|
XBPS_RUST_TARGET="$XBPS_TRIPLET"
|