nixpkgs/pkgs/development/compilers/llvm/6/libc++/setup-hook.sh
2018-03-07 19:03:05 -06:00

3 lines
159 B
Bash

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