xbps-src: introduce XBPS_TRIPLET and set it in the build-profiles.
This is for cases where host does not match build environment (x86_64 building for x86). So we just force build/host triplet in native builds.
This commit is contained in:
parent
ab9b7971f0
commit
9a168e4463
10 changed files with 10 additions and 3 deletions
|
@ -14,6 +14,8 @@ fi
|
|||
|
||||
# Cross compilation vars
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
|
||||
export configure_args+=" --host=$XBPS_TRIPLET --build=$XBPS_TRIPLET"
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue