forked from mirrors/nixpkgs
boehm-gc: Fix x86_64-darwin builds.
svn path=/nixpkgs/trunk/; revision=20900
This commit is contained in:
parent
855bcdf626
commit
5e1ea06c0f
|
@ -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 {})
|
||||
|
|
Loading…
Reference in a new issue