diff options
author | midipix <writeonce@midipix.org> | 2021-06-08 15:30:31 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-08 15:31:11 +0000 |
commit | 616a9de384c113c6d02cd394b67784c6412078d5 (patch) | |
tree | a3886ab9b98a926e37ba1bbeab5c85e15775870f /sofort/ccenv | |
parent | 91fd21b6cb553ae552c805f0b75147335581aff6 (diff) | |
download | ntapi-616a9de384c113c6d02cd394b67784c6412078d5.tar.bz2 ntapi-616a9de384c113c6d02cd394b67784c6412078d5.tar.xz |
build system: ccenv: ccenv_set_cc_bits(): support strict compiler drivers.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 5 |
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") \ |