summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2017-11-17 23:13:17 +0000
committerJames Le Cuirot <chewi@gentoo.org>2017-11-17 23:13:17 +0000
commit8368af594a23150a95d5a1a6e19ec0ec3b7edd15 (patch)
tree3f1881d8d86ae40966a1a767e040eac99ea4df2b /media-tv
parentdev-util/strace: Don't eautoreconf when user patches are applied (diff)
downloadgentoo-8368af594a23150a95d5a1a6e19ec0ec3b7edd15.tar.gz
gentoo-8368af594a23150a95d5a1a6e19ec0ec3b7edd15.tar.bz2
gentoo-8368af594a23150a95d5a1a6e19ec0ec3b7edd15.zip
media-tv/tvheadend: Export CC during configure to fix cross-compiling
CC isn't only used by the Makefile. Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/tvheadend/tvheadend-4.0.9.ebuild1
-rw-r--r--media-tv/tvheadend/tvheadend-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/media-tv/tvheadend/tvheadend-4.0.9.ebuild b/media-tv/tvheadend/tvheadend-4.0.9.ebuild
index 8fe7e7352725..d3627e8f13cc 100644
--- a/media-tv/tvheadend/tvheadend-4.0.9.ebuild
+++ b/media-tv/tvheadend/tvheadend-4.0.9.ebuild
@@ -65,6 +65,7 @@ pkg_setup() {
}
src_configure() {
+ CC="$(tc-getCC)" \
econf --prefix="${EPREFIX}"/usr \
--datadir="${EPREFIX}"/usr/share \
--disable-ccache \
diff --git a/media-tv/tvheadend/tvheadend-9999.ebuild b/media-tv/tvheadend/tvheadend-9999.ebuild
index ac205c566bb0..e6779acb3c1f 100644
--- a/media-tv/tvheadend/tvheadend-9999.ebuild
+++ b/media-tv/tvheadend/tvheadend-9999.ebuild
@@ -50,6 +50,7 @@ src_prepare() {
}
src_configure() {
+ CC="$(tc-getCC)" \
econf --prefix="${EPREFIX}"/usr \
--datadir="${EPREFIX}"/usr/share \
--disable-hdhomerun_static \