diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 12:59:41 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 15:11:59 +0000 |
commit | 3bf7dad07f5f053e5893d420e41e25914bd37c1f (patch) | |
tree | d66113fcd17bd59d568a571f49c697346d527b8e | |
parent | c57f30359ff59181c7c32ec6cec99dee009e50d8 (diff) | |
download | sltdl-3bf7dad07f5f053e5893d420e41e25914bd37c1f.tar.bz2 sltdl-3bf7dad07f5f053e5893d420e41e25914bd37c1f.tar.xz |
build system: ccenv: ccenv_set_cc(): record compiler's support of stdin input.
-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" |