1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

Workaround for getcwd configure test on 10.11.

See https://openradar.appspot.com/22671534 for a description of the
problem.
This commit is contained in:
Drew Hess 2015-09-11 19:23:52 -07:00 committed by Eric Seidel
parent ff9a70266b
commit 3c8b92f4b3

View file

@ -58,6 +58,8 @@ rec {
export NIX_CFLAGS_COMPILE+=" --sysroot=/var/empty -idirafter $SDKROOT/usr/include -F$SDKROOT/System/Library/Frameworks -Wno-multichar -Wno-deprecated-declarations"
export NIX_LDFLAGS_AFTER+=" -L$SDKROOT/usr/lib"
export CMAKE_OSX_ARCHITECTURES=x86_64
# Workaround for https://openradar.appspot.com/22671534 on 10.11.
export gl_cv_func_getcwd_abort_bug=no
'';
# A stdenv that wraps the Apple command-line tools and our other trivial symlinked bootstrap tools