Skip to content

Commit

Permalink
SDL2_gfx: Fix non-x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dezgeg committed Mar 11, 2017
1 parent a2eae3b commit 8d3c35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/SDL2_gfx/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 8d3c35a

Please sign in to comment.