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

4 lines
159 B
Bash
Raw Normal View History

2017-09-16 02:38:38 +02:00
linkCxxAbi="@linkCxxAbi@"
export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"