summaryrefslogtreecommitdiff
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-08 15:30:31 +0000
committermidipix <writeonce@midipix.org>2021-06-08 15:31:09 +0000
commitf89ba3a755f6cf7c5deb9d37edcadb1bbbb76ee5 (patch)
tree2e28b9a87bb9c3ceb9283a3ef4ca5ec62b8a0ec1 /sofort/ccenv
parentad6dd2b1a5d10487bfaa38e4200fe69c3b1d9d60 (diff)
downloadbautomake-f89ba3a755f6cf7c5deb9d37edcadb1bbbb76ee5.tar.bz2
bautomake-f89ba3a755f6cf7c5deb9d37edcadb1bbbb76ee5.tar.xz
build system: ccenv: ccenv_set_cc_bits(): support 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 d0e808d..61d3c58 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -721,7 +721,10 @@ ccenv_set_cc_bits()
"$ccenv_internal_type" \
"$ccenv_internal_guess")
- if [ -n "$ccenv_dumpmachine_switch" ]; then
+ ccenv_expr='ccenv_stdin_input=$ccenv_'${ccenv_cfgtype}'_stdin_input'
+ eval ${ccenv_expr}
+
+ if [ "$ccenv_stdin_input" = 'yes' ]; then
printf '%s' "$ccenv_internal_str" \
| eval $ccenv_cc -S -xc - -o - \
$(printf '%s' "$ccenv_cflags") \