From 0603682dbcb28c52877652130f23b74f1a00ecd9 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 18 Apr 2017 15:20:16 +0200 Subject: 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(-) (limited to 'media-video/ffmpeg') diff --git a/media-video/ffmpeg/ffmpeg-3.3.ebuild b/media-video/ffmpeg/ffmpeg-3.3.ebuild index 0404912f5acf..5c66b742a78e 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 12172bafc688..c3bf69113f8f 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 ) -- cgit v1.2.3-65-gdbad