mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r12579] Description:
-O3 flag causes compilation problems on most of the platforms with Intel compiler. The problem exists in all vesrions of icc compiler up to the newest 9.1 Solution: Use less agressive default setting O2 to avoid headache Platforms tested: Linux 2.6 ia64 at UCAR (hal), cobalt (NCSA)
This commit is contained in:
parent
32ab3519fb
commit
b018e9589e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user