2018-05-07 19:07:19 +02:00
|
|
|
# See pkgs/build-support/setup-hooks/role.bash
|
|
|
|
getHostRole
|
2018-05-03 23:52:11 +02:00
|
|
|
|
2017-02-18 20:53:46 +01:00
|
|
|
linkCxxAbi="@linkCxxAbi@"
|
2018-05-07 19:07:19 +02:00
|
|
|
export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
|
|
|
|
export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
|