nixpkgs/pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh
2015-07-27 14:25:40 -07:00

4 lines
159 B
Bash

linkCxxAbi="@linkCxxAbi@"
export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"