nixpkgs/pkgs/development/libraries/libc++/setup-hook.sh

3 lines
144 B
Bash
Raw Normal View History

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