Commit b2d688ea authored by Diego Biurrun's avatar Diego Biurrun

configure: Identify icc compiler with a less ambiguous pattern

parent b58b00ae
......@@ -2364,7 +2364,7 @@ probe_cc(){
fi
_cflags_speed='-O3'
_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
_ident=$($_cc --version | head -n1)
_depflags='-MMD'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment