1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

Fix liboil build on Darwin

This commit is contained in:
Spencer Whitt 2015-02-28 09:42:39 -05:00
parent 422e91d0f9
commit a019811e98

View file

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
# errors
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; {
description = "A library of simple functions that are optimized for various CPUs";
homepage = http://liboil.freedesktop.org;