omxplayer: Don't use stdenv.cross
This commit is contained in:
parent
ffa535a0cc
commit
9c163cebdd
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
{ stdenv, fetchurl, raspberrypifw, pcre, boost, freetype, zlib }:
|
||||
{ stdenv, fetchurl
|
||||
, raspberrypifw, pcre, boost, freetype, zlib
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
let
|
||||
ffmpeg = stdenv.mkDerivation rec {
|
||||
|
@ -46,10 +49,10 @@ let
|
|||
crossAttrs = {
|
||||
configurePlatforms = [];
|
||||
configureFlags = configureFlags ++ [
|
||||
"--cross-prefix=${stdenv.cross.config}-"
|
||||
"--cross-prefix=${stdenv.cc.prefix}"
|
||||
"--enable-cross-compile"
|
||||
"--target_os=linux"
|
||||
"--arch=${stdenv.cross.arch}"
|
||||
"--arch=${hostPlatform.arch}"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue