mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
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 ];
|
||||
|
||||
meta = {
|
||||
homepage = http://liboil.freedesktop.org;
|
||||
# fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix"
|
||||
# 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";
|
||||
license = "BSD-2";
|
||||
homepage = http://liboil.freedesktop.org;
|
||||
license = libraries.bsd2;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user