summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-08 15:12:32 +0000
committermidipix <writeonce@midipix.org>2021-06-08 15:31:09 +0000
commitd65297792a54355d131a690add976ce0c3ff9639 (patch)
tree676297fbc2660776030a2eb902b8c6f80f8c2c3f /sofort/ccenv
parent409259e26658659b5a81481b427b5fc004d30895 (diff)
downloadapimagic-d65297792a54355d131a690add976ce0c3ff9639.tar.bz2
apimagic-d65297792a54355d131a690add976ce0c3ff9639.tar.xz
build system: ccenv: support --cchost with strict compiler drivers.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r--sofort/ccenv/ccenv.sh5
1 files changed, 4 insertions, 1 deletions
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