firefox: use proper host triplet for cross
[ci skip]
This commit is contained in:
parent
d283b48c39
commit
a8a9e140cc
1 changed files with 1 additions and 6 deletions
|
@ -87,13 +87,8 @@ do_build() {
|
||||||
ac_cv_sqlite_enable_unlock_notify=yes \
|
ac_cv_sqlite_enable_unlock_notify=yes \
|
||||||
ac_cv_prog_hostcxx_works=1
|
ac_cv_prog_hostcxx_works=1
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) _host_triplet=${XBPS_MACHINE%-musl}-unknown-linux-musl;;
|
|
||||||
*) _host_triplet=${XBPS_MACHINE}-unknwon-linux-gnu;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
echo "ac_add_options --target=$XBPS_CROSS_TRIPLET" >>.mozconfig
|
echo "ac_add_options --target=$XBPS_CROSS_TRIPLET" >>.mozconfig
|
||||||
echo "ac_add_options --host=$_host_triplet" >>.mozconfig
|
echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig
|
||||||
else
|
else
|
||||||
echo "ac_add_options --target=$XBPS_TRIPLET" >>.mozconfig
|
echo "ac_add_options --target=$XBPS_TRIPLET" >>.mozconfig
|
||||||
echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig
|
echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig
|
||||||
|
|
Loading…
Reference in a new issue