mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
2110c0bd30
Also fix some setup hooks that unnecessarily used environment hooks, which revolted in the same variable being modified too many times.
6 lines
272 B
Bash
6 lines
272 B
Bash
# See pkgs/build-support/setup-hooks/role.bash
|
|
getHostRole
|
|
|
|
export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/$(@gcc@/bin/gcc -dumpmachine)"
|
|
export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libstdc++"
|