1 |
commit: 0603682dbcb28c52877652130f23b74f1a00ecd9 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 18 13:20:16 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 18 13:21:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0603682d |
7 |
|
8 |
media-video/ffmpeg: set hostcc when cross compiling |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
media-video/ffmpeg/ffmpeg-3.3.ebuild | 2 +- |
13 |
media-video/ffmpeg/ffmpeg-9999.ebuild | 2 +- |
14 |
2 files changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/media-video/ffmpeg/ffmpeg-3.3.ebuild b/media-video/ffmpeg/ffmpeg-3.3.ebuild |
17 |
index 0404912f5ac..5c66b742a78 100644 |
18 |
--- a/media-video/ffmpeg/ffmpeg-3.3.ebuild |
19 |
+++ b/media-video/ffmpeg/ffmpeg-3.3.ebuild |
20 |
@@ -402,7 +402,7 @@ multilib_src_configure() { |
21 |
|
22 |
# cross compile support |
23 |
if tc-is-cross-compiler ; then |
24 |
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- ) |
25 |
+ myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" ) |
26 |
case ${CHOST} in |
27 |
*freebsd*) |
28 |
myconf+=( --target-os=freebsd ) |
29 |
|
30 |
diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild |
31 |
index 12172bafc68..c3bf69113f8 100644 |
32 |
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild |
33 |
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild |
34 |
@@ -402,7 +402,7 @@ multilib_src_configure() { |
35 |
|
36 |
# cross compile support |
37 |
if tc-is-cross-compiler ; then |
38 |
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- ) |
39 |
+ myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" ) |
40 |
case ${CHOST} in |
41 |
*freebsd*) |
42 |
myconf+=( --target-os=freebsd ) |