diff --git a/configure b/configure index 9264bb5a0ef2339538459d0b9d606c96414a985e..23be4255ff90bb8c745fbd529a4372bb5610e445 100755 --- a/configure +++ b/configure @@ -3291,7 +3291,7 @@ probe_cc(){ _type=lld-link # The link.exe mode doesn't have a switch for getting the version, # but we can force it back to gnu mode and get the version from there. - _ident=$($_cc -flavor gnu --version) + _ident=$($_cc -flavor gnu --version 2>/dev/null) _ld_o='-out:$@' _flags_filter=msvc_flags _ld_lib='lib%.a'