LLVM: Always pass host/target info to compiler-rt/libstdcxxClang

This commit is contained in:
Travis Whitaker
2020-04-13 18:49:27 -04:00
committed by John Ericson
parent 79374b9870
commit 74f3b25896
14 changed files with 154 additions and 28 deletions
@@ -1,4 +1,4 @@
# 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_COMPILE+=" -isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/@targetConfig@"