Skip to content

Commit

Permalink
mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498
Browse files Browse the repository at this point in the history
  • Loading branch information
axs-gentoo committed Sep 8, 2016
1 parent c13bca2 commit 605002e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions eclass/mozconfig-v6.48.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 605002e

Please sign in to comment.