--- chromium-50.0.2661.75.ebuild 2016-04-20 18:06:33.000000000 +0000 +++ chromium-50.0.2661.75_ffmpeg_cross_fix.ebuild 2016-04-20 19:52:12.000000000 +0000 @@ -533,6 +533,15 @@ # TODO: also do this for GN bundled ffmpeg build. if ! use system-ffmpeg && ! use gn; then local build_ffmpeg_args="" + # Set the cross compile and prefix correctly (arm builds have this incorrectly set by build script) + build_ffmpeg_args+=" --cross-prefix=${CHOST}-" + + if tc-is-cross-compiler; then + build_ffmpeg_args+=" --enable-cross-compile" + else + build_ffmpeg_args+=" --disable-cross-compile" + fi + if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then build_ffmpeg_args+=" --disable-asm" fi