commit: 605002e1116b8eb3b37d572eefc8372bd4cbcfe9
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 22:19:26 2016 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 22:20:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=605002e1
mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498
eclass/mozconfig-v6.48.eclass | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index e2d8934..17b41b9 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