From 605002e1116b8eb3b37d572eefc8372bd4cbcfe9 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Thu, 8 Sep 2016 18:19:26 -0400 Subject: [PATCH] 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 e2d893432c4e4..17b41b96f731d 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