git.iko.soy/typeable/nixpkgs
on master help sign in
ffmpeg: fix inverted cross compilation flags
commitad1912700993e759630c2289c5cf863c44448876 authorAndrew Childs <lorne@cons.org.nz> dateSun 15 Jul 2018, 13:15 (8 years ago) parent7ef73ab
1 file changed+1−1
pkgs/development/libraries/ffmpeg/generic.nix+1−1
pkgs/development/libraries/ffmpeg/generic.nix+1−1
@@ -148,7 +148,7 @@ stdenv.mkDerivation rec {
148148 "--disable-stripping"
149149 # Disable mmx support for 0.6.90
150150 (verFix null "0.6.90" "--disable-mmx")
151− ] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
151+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
152152 "--cross-prefix=${stdenv.cc.targetPrefix}"
153153 "--enable-cross-compile"
154154 ] ++ optional stdenv.cc.isClang "--cc=clang";