forked from mirrors/nixpkgs
SDL2_gfx: Fix non-x86 build
This commit is contained in:
parent
a2eae3bc44
commit
8d3c35ad02
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue