Revert "ffmpeg: fix cross compilation"
This reverts commit f6f8f0b75a
.
avoid mass-rebuild on master; move to staging instead.
This commit is contained in:
parent
83be64c5dc
commit
f1568223c9
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, buildPackages, fetchurl, pkgconfig, addOpenGLRunpath, perl, texinfo, yasm
|
{ stdenv, fetchurl, pkgconfig, addOpenGLRunpath, perl, texinfo, yasm
|
||||||
, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
|
, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
|
||||||
, libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
|
, libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
|
||||||
, x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d
|
, x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d
|
||||||
|
@ -163,10 +163,8 @@ stdenv.mkDerivation rec {
|
||||||
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||||
"--cross-prefix=${stdenv.cc.targetPrefix}"
|
"--cross-prefix=${stdenv.cc.targetPrefix}"
|
||||||
"--enable-cross-compile"
|
"--enable-cross-compile"
|
||||||
"--pkg-config=pkg-config" # Override ffmpeg's ./configure assumption that pkg-config is prefixed by the architecture. (e.g. aarch64-unknown-linux-gnu-pkg-config)
|
|
||||||
] ++ optional stdenv.cc.isClang "--cc=clang");
|
] ++ optional stdenv.cc.isClang "--cc=clang");
|
||||||
|
|
||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
|
||||||
nativeBuildInputs = [ addOpenGLRunpath perl pkgconfig texinfo yasm ];
|
nativeBuildInputs = [ addOpenGLRunpath perl pkgconfig texinfo yasm ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user