From 7bce23170f7c957454a885c70a30b073eda11e5c Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Wed, 4 Jul 2007 21:46:31 -0500 Subject: [svn-r13939] Problem: High level of optimazation causes test failures when library is built with Intel 10.0 compiler. Solution: Use -O1 optimization flag with Intel 10.0 Platforms tested: abe and kagiso with Intel 10.0 and Intel 9.1 compilers; no committest is needed since this is a compiler specific change. --- config/intel-flags | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/intel-flags b/config/intel-flags index ad59a2b..30e8f4d 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -98,6 +98,9 @@ fi # Please follow the pattern below by adding new versions at the top, copying # the information from the previous version and adding modifications to that. case "$cc_vendor-$cc_version" in + icc-10.0*) + PROD_CFLAGS="-O1 -Wl,-s" + ;; icc-8.0*) # v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2. PROD_CFLAGS="-O2 -Wl,-s" -- cgit v0.12