mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
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 New Issue
Block a user