profiles: introduce XBPS_{,TARGET_}{ENDIAN,LIBC}

Provide new environment variables for simplifaction of template checks:
...ENDIAN defines the (target) machine's endianness: "le" or "be".
...LIBC defines the (target) machine's C library: "glibc" or "musl".

Closes: #13356
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller
2019-08-02 17:30:13 +02:00
parent 0ab586ea43
commit 9b3203401d
39 changed files with 91 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
XBPS_ENDIAN=le
XBPS_LIBC=glibc
XBPS_WORDSIZE=32
XBPS_TARGET_CFLAGS="-mtune=i686"
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"