summaryrefslogtreecommitdiff
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 03:47:54 +0000
committermidipix <writeonce@midipix.org>2021-06-05 03:50:03 +0000
commite6956a3a6558f77dcd8702f57e42c7e2fbfb3b58 (patch)
treefc96002f292ee1bda772337f5c5ed143609c6773 /sofort/ccenv
parent04c0deb720d4549556cb405d7020c2604fc59474 (diff)
downloadsbpython3-e6956a3a6558f77dcd8702f57e42c7e2fbfb3b58.tar.bz2
sbpython3-e6956a3a6558f77dcd8702f57e42c7e2fbfb3b58.tar.xz
build system: ccenv: ccenv_set-cc(): test for -dumpmachine support silently.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r--sofort/ccenv/ccenv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index a52d699..baa0790 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -481,12 +481,16 @@ ccenv_set_cc()
ccenv_native_cc=
fi
+ cfgtest_silent='yes'
+
if cfgtest_compiler_switch -dumpmachine ; then
ccenv_dumpmachine_switch='-dumpmachine'
else
ccenv_dumpmachine_switch=
fi
+ unset cfgtest_silent
+
ccenv_cc_cmd="$ccenv_cc"
ccenv_errors=