common/profiles: introduce XBPS_{,TARGET_}WORDSIZE

The host and target word size can be used to determine whether
cross compiling certain packages is possible.
This commit is contained in:
Jürgen Buchmüller
2019-07-26 15:18:11 +02:00
parent fd728ab673
commit ed4cdadcfd
39 changed files with 49 additions and 27 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Cross build profile for ppc64 big-endian GNU.
XBPS_TARGET_WORDSIZE=64
XBPS_TARGET_MACHINE="ppc64"
XBPS_TARGET_QEMU_MACHINE="ppc64"
XBPS_CROSS_TRIPLET="powerpc64-linux-gnu"