summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 482be4306c..2c3e77a77d 100755
--- a/configure
+++ b/configure
@@ -2939,8 +2939,8 @@ probe_cc(){
if $_cc -v 2>&1 | grep -q '^gcc.*LLVM'; then
_type=llvm_gcc
- gcc_extra_ver=$(expr "$($_cc --version | head -n1)" : '.*\((.*)\)')
- _ident="llvm-gcc $($_cc -dumpversion) $gcc_extra_ver"
+ gcc_extra_ver=$(expr "$($_cc --version 2>/dev/null | head -n1)" : '.*\((.*)\)')
+ _ident="llvm-gcc $($_cc -dumpversion 2>/dev/null) $gcc_extra_ver"
_depflags='-MMD -MF $(@:.o=.d) -MT $@'
_cflags_speed='-O3'
_cflags_size='-Os'
@@ -3003,7 +3003,7 @@ probe_cc(){
_flags_filter=tms470_flags
elif $_cc -v 2>&1 | grep -q clang; then
_type=clang
- _ident=$($_cc --version | head -n1)
+ _ident=$($_cc --version 2>/dev/null | head -n1)
_depflags='-MMD -MF $(@:.o=.d) -MT $@'
_cflags_speed='-O3'
_cflags_size='-Os'