Skip to content

Commit

Permalink
media-tv/tvheadend: Export CC during configure to fix cross-compiling
Browse files Browse the repository at this point in the history
CC isn't only used by the Makefile.

Package-Manager: Portage-2.3.14, Repoman-2.3.6
  • Loading branch information
chewi committed Nov 17, 2017
1 parent d7b0ec7 commit 8368af5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-tv/tvheadend/tvheadend-4.0.9.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pkg_setup() {
}

src_configure() {
CC="$(tc-getCC)" \
econf --prefix="${EPREFIX}"/usr \
--datadir="${EPREFIX}"/usr/share \
--disable-ccache \
Expand Down
1 change: 1 addition & 0 deletions media-tv/tvheadend/tvheadend-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ src_prepare() {
}

src_configure() {
CC="$(tc-getCC)" \
econf --prefix="${EPREFIX}"/usr \
--datadir="${EPREFIX}"/usr/share \
--disable-hdhomerun_static \
Expand Down

0 comments on commit 8368af5

Please sign in to comment.