···1010if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]]; then
1111 role_prefixes+=(_BUILD)
1212fi
1313+if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST:-}" ]]; then
1414+ role_prefixes+=('')
1515+fi
1316if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]]; then
1417 role_prefixes+=(_TARGET)
1515-fi
1616-# use this as default if no role is inferred
1717-if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST:-}" || ${#role_prefixes[@]} -eq 0 ]]; then
1818- role_prefixes+=('')
1918fi
20192120# For each role we serve, we accumulate the input parameters into our own
-5
pkgs/build-support/cc-wrapper/ld-wrapper.sh
···20202121source @out@/nix-support/utils.sh
22222323-# make set -u happy if the outside environment is unset
2424-# this should never happen, but does in an LLVM test
2525-if [ -z "${NIX_STORE:-}" ]; then
2626- NIX_STORE=/nix/store
2727-fi
28232924# Optionally filter out paths not refering to the store.
3025expandResponseParams "$@"