commit: 0603682dbcb28c52877652130f23b74f1a00ecd9
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 13:20:16 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 13:21:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0603682d
media-video/ffmpeg: set hostcc when cross compiling
Package-Manager: Portage-2.3.5, Repoman-2.3.2
media-video/ffmpeg/ffmpeg-3.3.ebuild | 2 +-
media-video/ffmpeg/ffmpeg-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-video/ffmpeg/ffmpeg-3.3.ebuild
b/media-video/ffmpeg/ffmpeg-3.3.ebuild
index 0404912f5ac..5c66b742a78 100644
--- a/media-video/ffmpeg/ffmpeg-3.3.ebuild
+++ b/media-video/ffmpeg/ffmpeg-3.3.ebuild
@@ -402,7 +402,7 @@ multilib_src_configure() {
# cross compile support
if tc-is-cross-compiler ; then
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel)
--cross-prefix=${CHOST}- )
+ myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel)
--cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index 12172bafc68..c3bf69113f8 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -402,7 +402,7 @@ multilib_src_configure() {
# cross compile support
if tc-is-cross-compiler ; then
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel)
--cross-prefix=${CHOST}- )
+ myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel)
--cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )