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