media-tv/tvheadend: Export CC during configure to fix cross-compiling
authorJames Le Cuirot <chewi@gentoo.org>
Fri, 17 Nov 2017 23:13:17 +0000 (23:13 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Fri, 17 Nov 2017 23:13:17 +0000 (23:13 +0000)
CC isn't only used by the Makefile.

Package-Manager: Portage-2.3.14, Repoman-2.3.6

media-tv/tvheadend/tvheadend-4.0.9.ebuild
media-tv/tvheadend/tvheadend-9999.ebuild

index 8fe7e7352725f470d9817f0a6ef405d2b0519392..d3627e8f13cc90ed9092241360c1b859009f15c8 100644 (file)
@@ -65,6 +65,7 @@ pkg_setup() {
 }
 
 src_configure() {
+       CC="$(tc-getCC)" \
        econf --prefix="${EPREFIX}"/usr \
                --datadir="${EPREFIX}"/usr/share \
                --disable-ccache \
index ac205c566bb04dbacaf97db67047a5f5e1326803..e6779acb3c1f22a01f685bddfc602480bf36fcc3 100644 (file)
@@ -50,6 +50,7 @@ src_prepare() {
 }
 
 src_configure() {
+       CC="$(tc-getCC)" \
        econf --prefix="${EPREFIX}"/usr \
                --datadir="${EPREFIX}"/usr/share \
                --disable-hdhomerun_static \