libav: Don't use stdenv.cross
This commit is contained in:
parent
de1125ea2c
commit
58196b607e
@ -13,6 +13,7 @@
|
||||
, SDL # only for avplay in $bin, adds nontrivial closure to it
|
||||
, enableGPL ? true # ToDo: some additional default stuff may need GPL
|
||||
, enableUnfree ? faacSupport
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
assert faacSupport -> enableUnfree;
|
||||
@ -107,10 +108,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 New Issue
Block a user