The host and target word size can be used to determine whether cross compiling certain packages is possible.
6 lines
237 B
Bash
6 lines
237 B
Bash
XBPS_WORDSIZE=32
|
|
XBPS_TARGET_CFLAGS="-mcpu=powerpc -mno-altivec -mtune=G4 -mlong-double-64"
|
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
|
XBPS_TARGET_FFLAGS=""
|
|
XBPS_TRIPLET="powerpc-linux-musl"
|
|
XBPS_RUST_TARGET="powerpc-unknown-linux-musl"
|