From 4d9dece8b36a4b238f19d0de35b2c3f2e2991769 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 10 Feb 2019 19:09:20 +0100 Subject: [PATCH] firefox-esr: use proper host triplet for cross [ci skip] --- srcpkgs/firefox-esr/template | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template index 8bb28291cbc..2bb80238276 100644 --- a/srcpkgs/firefox-esr/template +++ b/srcpkgs/firefox-esr/template @@ -87,13 +87,8 @@ do_build() { ac_cv_sqlite_enable_unlock_notify=yes \ 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 --host=$_host_triplet" >>.mozconfig + echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig else echo "ac_add_options --target=$XBPS_TRIPLET" >>.mozconfig echo "ac_add_options --host=$XBPS_TRIPLET" >>.mozconfig