build-style/cmake: set CMAKE_CROSSCOMPILING_EMULATOR

This commit is contained in:
John
2019-03-23 06:48:59 +01:00
committed by John Zimmermann
parent c79d2e16a2
commit 01d11a4938
22 changed files with 27 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
# Cross build profile for ppc64 little-endian musl.
XBPS_TARGET_MACHINE="ppc64le-musl"
XBPS_TARGET_QEMU_MACHINE="ppc64le"
XBPS_CROSS_TRIPLET="powerpc64le-linux-musl"
XBPS_CROSS_CFLAGS="-mcpu=powerpc64le -mtune=power9 -maltivec -mlong-double-64 -mabi=elfv2"
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"