3
0
Fork 0
forked from mirrors/nixpkgs

SDL2_gfx: Fix non-x86 build

This commit is contained in:
Tuomas Tynkkynen 2017-03-11 02:37:00 +02:00
parent a2eae3bc44
commit 8d3c35ad02

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL2 ];
configureFlags = [ "--enable-mmx" ];
configureFlags = if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx";
meta = with stdenv.lib; {
description = "SDL graphics drawing primitives and support functions";