nixpkgs/pkgs/development/compilers/llvm/3.6/libc++/setup-hook.sh
Benjamin Saunders 19f371d8d9 Fix libcxxStdenv on Linux
This corrects linkage failures arising from missing -lc++abi and
resolves "unused argument" warnings arising due to -stdlib=libc++
serving no purpose when search paths are being supplied explicitly.
2015-07-26 12:56:49 -07:00

2 lines
107 B
Bash

export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_LINK=" -lc++ -lc++abi"