common: add build/cross profiles for ppcle(-musl)
for now, these profiles set -mcpu to power8 and -mtune to power9 to match our ppc64le profiles, since there isn't really any native harwdare to run these on (at least yet), and any packages will be experimental for now anyway
This commit is contained in:
parent
d6744587a5
commit
b1d4c6ebe8
|
@ -0,0 +1,5 @@
|
|||
XBPS_TARGET_CFLAGS="-mcpu=power8 -mtune=power9"
|
||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||
XBPS_TARGET_FFLAGS=""
|
||||
XBPS_TRIPLET="powerpcle-linux-musl"
|
||||
XBPS_RUST_TARGET="powerpcle-unknown-linux-musl"
|
|
@ -0,0 +1,5 @@
|
|||
XBPS_TARGET_CFLAGS="-mcpu=power8 -mtune=power9"
|
||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||
XBPS_TARGET_FFLAGS=""
|
||||
XBPS_TRIPLET="powerpcle-linux-gnu"
|
||||
XBPS_RUST_TARGET="powerpcle-unknown-linux-gnu"
|
|
@ -0,0 +1,10 @@
|
|||
# Cross build profile for little endian PowerPC.
|
||||
|
||||
XBPS_TARGET_MACHINE="ppcle-musl"
|
||||
XBPS_TARGET_QEMU_MACHINE="ppc"
|
||||
XBPS_CROSS_TRIPLET="powerpcle-linux-musl"
|
||||
XBPS_CROSS_CFLAGS="-mcpu=power8 -mtune=power9"
|
||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||
XBPS_CROSS_FFLAGS=""
|
||||
XBPS_CROSS_RUSTFLAGS="--sysroot=${XBPS_CROSS_BASE}/usr"
|
||||
XBPS_CROSS_RUST_TARGET="powerpcle-unknown-linux-musl"
|
|
@ -0,0 +1,10 @@
|
|||
# Cross build profile for little endian PowerPC.
|
||||
|
||||
XBPS_TARGET_MACHINE="ppcle"
|
||||
XBPS_TARGET_QEMU_MACHINE="ppc"
|
||||
XBPS_CROSS_TRIPLET="powerpcle-linux-gnu"
|
||||
XBPS_CROSS_CFLAGS="-mcpu=power8 -mtune=power9"
|
||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||
XBPS_CROSS_FFLAGS=""
|
||||
XBPS_CROSS_RUSTFLAGS="--sysroot=${XBPS_CROSS_BASE}/usr"
|
||||
XBPS_CROSS_RUST_TARGET="powerpcle-unknown-linux-gnu"
|
Loading…
Reference in New Issue