nixpkgs-suyu/pkgs/development/compilers/gcc/libstdc++-hook.sh

3 lines
189 B
Bash
Raw Normal View History

2017-09-04 21:07:05 +02:00
export NIX_CXXSTDLIB_COMPILE+="-isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/$(@gcc@/bin/gcc -dumpmachine)"
export NIX_CXXSTDLIB_LINK=" -stdlib=libstdc++"