From: Ian Stakenvicius Date: Thu, 8 Sep 2016 22:19:26 +0000 (-0400) Subject: mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=605002e1116b8eb3b37d572eefc8372bd4cbcfe9;p=gentoo.git mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498 --- 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