summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2016-09-08 18:19:26 -0400
committerIan Stakenvicius <axs@gentoo.org>2016-09-08 18:20:06 -0400
commit605002e1116b8eb3b37d572eefc8372bd4cbcfe9 (patch)
treee4047d3218b8a7414834c5d453f8434d452e510f
parentsci-mathematics/minisat: Removing EAPI 2 ebuilds (diff)
downloadgentoo-605002e1116b8eb3b37d572eefc8372bd4cbcfe9.tar.gz
gentoo-605002e1116b8eb3b37d572eefc8372bd4cbcfe9.tar.bz2
gentoo-605002e1116b8eb3b37d572eefc8372bd4cbcfe9.zip
mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498
-rw-r--r--eclass/mozconfig-v6.48.eclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index e2d893432c4e..17b41b96f731 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.48.eclass
@@ -329,11 +329,9 @@ mozconfig_config() {
# Instead of the standard --build= and --host=, mozilla uses --host instead
# of --build, and --target intstead of --host.
# Note, mozilla also has --build but it does not do what you think it does.
+ # Set both --target and --host as mozilla uses python to guess values otherwise
mozconfig_annotate '' --target="${CHOST}"
- if [[ "${CBUILD:-${CHOST}}" != "${CHOST}" ]]; then
- # set --host only when cross-compiling
- mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
- fi
+ mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
mozconfig_use_enable pulseaudio