ffmpeg: fix inverted cross compilation flags

This commit is contained in:
Andrew Childs 2018-07-15 13:15:24 +09:00
parent 7ef73ab110
commit ad19127009

View File

@ -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";