summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 12:59:41 +0000
committermidipix <writeonce@midipix.org>2021-06-05 13:00:53 +0000
commit26823169cdf3989719ad942321ebaef97fcd48cd (patch)
tree5b410290798d8f9f5f1c413954625a83e31a9658 /sofort/ccenv
parentfa4aa340d0ef1147d6d577430c5f98445da6cdf2 (diff)
downloadslibtool-26823169cdf3989719ad942321ebaef97fcd48cd.tar.bz2
slibtool-26823169cdf3989719ad942321ebaef97fcd48cd.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.sh6
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"