3
0
Fork 0
forked from mirrors/nixpkgs

boehm-gc: Fix x86_64-darwin builds.

svn path=/nixpkgs/trunk/; revision=20900
This commit is contained in:
Ludovic Courtès 2010-04-01 09:26:29 +00:00
parent 855bcdf626
commit 5e1ea06c0f

View file

@ -44,3 +44,10 @@ stdenv.mkDerivation {
platforms = stdenv.lib.platforms.all;
};
}
//
(if stdenv.system == "x86_64-darwin"
# Fix "#error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined".
then { configureFlags = "CPPFLAGS=-D_XOPEN_SOURCE"; }
else {})