mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00: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++"
|