liboil: fix build on darwin
* force --build=x86_64
This commit is contained in:
parent
72a771b6e4
commit
bdf5a5c20e
@ -12,9 +12,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./x86_64-cpuid.patch ];
|
patches = [ ./x86_64-cpuid.patch ];
|
||||||
|
|
||||||
meta = {
|
# fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix"
|
||||||
homepage = http://liboil.freedesktop.org;
|
# errors
|
||||||
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "A library of simple functions that are optimized for various CPUs";
|
description = "A library of simple functions that are optimized for various CPUs";
|
||||||
license = "BSD-2";
|
homepage = http://liboil.freedesktop.org;
|
||||||
|
license = libraries.bsd2;
|
||||||
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user