1 # Cross build profile for ARMv7 EABI Hard Float and Musl libc.
3 XBPS_TARGET_MACHINE
="armv7l-musl"
4 XBPS_TARGET_QEMU_MACHINE
="arm"
5 XBPS_CROSS_TRIPLET
="armv7l-linux-musleabihf"
6 XBPS_CROSS_CFLAGS
="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
7 XBPS_CROSS_CXXFLAGS
="$XBPS_CROSS_CFLAGS"
8 XBPS_CROSS_FFLAGS
="$XBPS_CROSS_CFLAGS"
9 XBPS_CROSS_RUSTFLAGS
="--sysroot=${XBPS_CROSS_BASE}/usr"
10 XBPS_CROSS_RUST_TARGET
="armv7-unknown-linux-musleabihf"
11 XBPS_CROSS_ZIG_TARGET
="arm-linux-musleabihf"
12 XBPS_CROSS_ZIG_CPU
="generic+v7a+vfp3"