From e831a05dd0294a751eb796ca78166d851d80e439 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 8 Jun 2021 15:12:32 +0000 Subject: build system: ccenv: support --cchost with strict compiler drivers. --- sofort/ccenv/ccenv.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 47fc587..d0e808d 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -560,7 +560,10 @@ ccenv_set_cc() $ccenv_dumpmachine_switch 2>&3) fi - if [ "$ccenv_cchost" != "$ccenv_host" ]; then + if [ -z "$ccenv_dumpmachine_switch" ] && [ -n "$ccenv_host" ]; then + ccenv_cchost="$ccenv_host" + + elif [ "$ccenv_cchost" != "$ccenv_host" ]; then printf 'error!\n' >&2 printf 'ccenv:\n' >&2 printf 'ccenv: ccenv_host: %s \n' $ccenv_host >&2 -- cgit v1.2.3