nixpkgs/pkgs/development/compilers/llvm/3.9/libc++/setup-hook.sh

4 lines
159 B
Bash
Raw Normal View History

2016-08-26 07:31:39 +02:00
linkCxxAbi="@linkCxxAbi@"
export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"