diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 12:59:41 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 15:11:53 +0000 |
commit | 9deaf650bd1ab4c20a6ed57c7bfab460e116b126 (patch) | |
tree | 5565c2ebee601d1c1a48542c68544209b8e8e7d9 /sofort | |
parent | 725875a5192dc9c26a4560a92f94f52efa056fad (diff) | |
download | perk-9deaf650bd1ab4c20a6ed57c7bfab460e116b126.tar.bz2 perk-9deaf650bd1ab4c20a6ed57c7bfab460e116b126.tar.xz |
build system: ccenv: ccenv_set_cc(): record compiler's support of stdin input.
Diffstat (limited to 'sofort')
-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" |