summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/cc/icc2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/cc/icc b/auto/cc/icc
index f1f9d3dcf..67d3b6ff2 100644
--- a/auto/cc/icc
+++ b/auto/cc/icc
@@ -5,7 +5,7 @@
# Intel C++ compiler 7.1, 8.0, 8.1, 9.0
NGX_ICC_VER=`$CC -V 2>&1 | grep 'Version' 2>&1 \
- | sed -e 's/^.* Version \(.*\) Build.*$/\1/'`
+ | sed -e 's/^.* Version \([^ ]*\) *Build.*$/\1/'`
echo " + icc version: $NGX_ICC_VER"