configure: Identify icc compiler with a less ambiguous pattern

pull/10/head
Diego Biurrun 12 years ago
parent b58b00aeca
commit b2d688ea9f
  1. 2
      configure

2
configure vendored

@ -2364,7 +2364,7 @@ probe_cc(){
fi fi
_cflags_speed='-O3' _cflags_speed='-O3'
_cflags_size='-Os' _cflags_size='-Os'
elif $_cc --version 2>/dev/null | grep -q Intel; then elif $_cc --version 2>/dev/null | grep -q ^icc; then
_type=icc _type=icc
_ident=$($_cc --version | head -n1) _ident=$($_cc --version | head -n1)
_depflags='-MMD' _depflags='-MMD'

Loading…
Cancel
Save