nixpkgs/pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh
2015-02-03 14:58:10 -08:00

3 lines
144 B
Bash

export NIX_CFLAGS_COMPILE+=" -isystem @out@/include/c++/v1 -stdlib=libc++"
export NIX_CFLAGS_LINK+=" -stdlib=libc++ -Wl,-rpath,@libcxxabi@/lib"