···10if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]]; then
11 role_prefixes+=(_BUILD)
12fi
00013if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]]; then
14 role_prefixes+=(_TARGET)
15-fi
16-# use this as default if no role is inferred
17-if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST:-}" || ${#role_prefixes[@]} -eq 0 ]]; then
18- role_prefixes+=('')
19fi
2021# For each role we serve, we accumulate the input parameters into our own
···10if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]]; then
11 role_prefixes+=(_BUILD)
12fi
13+if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST:-}" ]]; then
14+ role_prefixes+=('')
15+fi
16if [[ -n "${NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]]; then
17 role_prefixes+=(_TARGET)
000018fi
1920# For each role we serve, we accumulate the input parameters into our own
-5
pkgs/build-support/cc-wrapper/ld-wrapper.sh
···2021source @out@/nix-support/utils.sh
2223-# make set -u happy if the outside environment is unset
24-# this should never happen, but does in an LLVM test
25-if [ -z "${NIX_STORE:-}" ]; then
26- NIX_STORE=/nix/store
27-fi
2829# Optionally filter out paths not refering to the store.
30expandResponseParams "$@"
···2021source @out@/nix-support/utils.sh
22000002324# Optionally filter out paths not refering to the store.
25expandResponseParams "$@"