diff options
author | midipix <writeonce@midipix.org> | 2020-01-04 14:25:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-01-04 14:27:42 +0000 |
commit | 81f3465f74020ddb61c3db6f0d5450a7e5e180ac (patch) | |
tree | 17a4604e0167622ae4f2c8d48871e7610185ae8c /sofort | |
parent | 5c5de9d7f4f60e25f29ad3edd0df0ba78a5ad2d1 (diff) | |
download | dalist-81f3465f74020ddb61c3db6f0d5450a7e5e180ac.tar.bz2 dalist-81f3465f74020ddb61c3db6f0d5450a7e5e180ac.tar.xz |
build system: ccenv_{set_cc|dso_verify}(): support deferred command expansion.
Diffstat (limited to 'sofort')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index ef7a957..7903b26 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -429,7 +429,7 @@ ccenv_set_cc() ccenv_cmd="$ccenv_cc --target=$ccenv_host -E -xc -" if [ -z "$mb_user_cc" ]; then - $ccenv_cmd < /dev/null > /dev/null \ + $(printf %s "$ccenv_cmd") < /dev/null > /dev/null \ 2>"$ccenv_tmp" || true ccenv_errors=$(cat "$ccenv_tmp") @@ -1206,7 +1206,7 @@ ccenv_dso_verify() rm -f a.out - printf '%s' "$ccenv_str" | $ccenv_cmd \ + printf '%s' "$ccenv_str" | $(printf %s "$ccenv_cmd") \ > /dev/null 2>&3 \ || mb_disable_shared=yes |