summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/intel-flags6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/intel-flags b/config/intel-flags
index 2403c30..3af224a 100644
--- a/config/intel-flags
+++ b/config/intel-flags
@@ -71,7 +71,11 @@ if test "X-icc" = "X-$cc_vendor"; then
# Production
# -Wl,-s to remove all symbols for smaller file
- PROD_CFLAGS="-O3 -Wl,-s"
+ # O3 optimization causes compilation failures on many platforms;
+ # the problem exists in all versions of the icc compiler up to the latest 9.1
+ # I changed optimization flag to default -O2. EIP, 2006-08-15
+ #PROD_CFLAGS="-O3 -Wl,-s"
+ PROD_CFLAGS="-O2 -Wl,-s"
PROD_CPPFLAGS=
# Debug