mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-27 23:57:42 +03:00
Merge pull request #7242 from spwhitt/liboil
Fix liboil build on Darwin
This commit is contained in:
commit
0f817531b8
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
# errors
|
# errors
|
||||||
configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64";
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64";
|
||||||
|
|
||||||
|
# fixes a cast in inline asm: easier than patching
|
||||||
|
buildFlags = stdenv.lib.optional stdenv.isDarwin "CFLAGS=-fheinous-gnu-extensions";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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";
|
||||||
homepage = http://liboil.freedesktop.org;
|
homepage = http://liboil.freedesktop.org;
|
||||||
|
Loading…
Reference in New Issue
Block a user