2018-05-07 18:07:19 +01:00
|
|
|
# See pkgs/build-support/setup-hooks/role.bash
|
|
|
|
getHostRole
|
2018-05-03 22:52:11 +01:00
|
|
|
|
2018-05-07 18:07:19 +01:00
|
|
|
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++"
|