From ab3d1715bf28f1ad0eec2f7e05319967901069ae Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Jun 2021 03:47:54 +0000 Subject: build system: ccenv: ccenv_set-cc(): test for -dumpmachine support silently. --- sofort/ccenv/ccenv.sh | 4 ++++ 1 file changed, 4 insertions(+) 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= -- cgit v1.2.3