From cd7ba4c13aa2be8a12661dea2f1f46a5f16d8a45 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 8 Jun 2021 15:30:31 +0000 Subject: build system: ccenv: ccenv_set_cc_bits(): support strict compiler drivers. --- sofort/ccenv/ccenv.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sofort/ccenv') 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") \ -- cgit v1.2.3