summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/linux
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/known-architectures/linux')
-rw-r--r--lib/make/known-architectures/linux5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 581c82ea..1f079e7b 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -402,9 +402,10 @@ else
else
CXX_OPTIMISE_FLAGS='-O3'
fi
- # Intel 8.1 has a bug when using anonymous namespaces
+ # Intel 8.1 and 9.0 have a bug when using anonymous namespaces
# taking out '-ip' bypasses this optimization bug
- if test "`$CXX -V 2>&1 | grep Version | sed 's/.*Version //' | cut -c1-3`" != '8.1'; then
+ icpc_version=`$CXX -V 2>&1 | grep Version | sed 's/.*Version //' | cut -c1-3`
+ if test "$icpc_version" != '8.1' -a "$icpc_version" != '9.0'; then
CXX_OPTIMISE_FLAGS="$CXX_OPTIMISE_FLAGS -ip"
fi
fi