diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 12:59:41 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 15:09:31 +0000 |
commit | 9b15b20236951c683347e6a7901089ffbdc3c037 (patch) | |
tree | f7010d7f101679e7db52905a9ed754cb18e6383d /sofort/ccenv | |
parent | d7956c0cb3b6df910dcdb97cacf6528f7cfdc33b (diff) | |
download | bfirm-9b15b20236951c683347e6a7901089ffbdc3c037.tar.bz2 bfirm-9b15b20236951c683347e6a7901089ffbdc3c037.tar.xz |
build system: ccenv: ccenv_set_cc(): record compiler's support of stdin input.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 17656e3..3c48fa6 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -489,6 +489,12 @@ ccenv_set_cc() ccenv_dumpmachine_switch= fi + if cfgtest_code_snippet_asm 'typedef int dummy;' ; then + eval ccenv_${ccenv_cfgtype}_stdin_input='yes' + else + eval ccenv_${ccenv_cfgtype}_stdin_input='no' + fi + unset cfgtest_silent ccenv_cc_cmd="$ccenv_cc" |