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 mmx support for 0.6.90
|
||||
(verFix null "0.6.90" "--disable-mmx")
|
||||
] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
|
||||
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"--cross-prefix=${stdenv.cc.targetPrefix}"
|
||||
"--enable-cross-compile"
|
||||
] ++ optional stdenv.cc.isClang "--cc=clang";
|
||||
|
Loading…
Reference in New Issue
Block a user