From e6b99fc44a699bfefc028afdbb095fab4e647311 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Jun 2021 12:59:41 +0000 Subject: build system: ccenv: ccenv_set_cc(): record compiler's support of stdin input. --- sofort/ccenv/ccenv.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sofort/ccenv') 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" -- cgit v1.2.3