ffmpeg: fix inverted cross compilation flags
This commit is contained in:
parent
7ef73ab110
commit
ad19127009
@ -148,7 +148,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--disable-stripping"
|
"--disable-stripping"
|
||||||
# Disable mmx support for 0.6.90
|
# Disable mmx support for 0.6.90
|
||||||
(verFix null "0.6.90" "--disable-mmx")
|
(verFix null "0.6.90" "--disable-mmx")
|
||||||
] ++ 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"
|
||||||
] ++ optional stdenv.cc.isClang "--cc=clang";
|
] ++ optional stdenv.cc.isClang "--cc=clang";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user