diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 03:47:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 03:49:59 +0000 |
commit | 31cc183f9006d8677fdfb6fbede22da64d25d412 (patch) | |
tree | 7a8ede6cc1845b518d62e0ec4c43b7a7bdc95802 /sofort/ccenv | |
parent | b18167bd619439aabffb946b3a27779b88d157a9 (diff) | |
download | ntapi-31cc183f9006d8677fdfb6fbede22da64d25d412.tar.bz2 ntapi-31cc183f9006d8677fdfb6fbede22da64d25d412.tar.xz |
build system: ccenv: ccenv_set-cc(): test for -dumpmachine support silently.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 4 |
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= |