nixpkgs-suyu/pkgs/development/compilers/llvm/3.9/libc++/setup-hook.sh
2016-08-31 07:13:35 +02: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"}"