diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-12-07 18:25:56 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-12-07 18:25:56 (GMT) |
commit | c668bdbda9fcc54e82e5635e309c4b6b44d3ee7f (patch) | |
tree | 3d73a2fe9f75f87165780f532f84addca808d15d /config | |
parent | 8f351521db7bb137e9ef686f9ed497110e71e879 (diff) | |
download | hdf5-c668bdbda9fcc54e82e5635e309c4b6b44d3ee7f.zip hdf5-c668bdbda9fcc54e82e5635e309c4b6b44d3ee7f.tar.gz hdf5-c668bdbda9fcc54e82e5635e309c4b6b44d3ee7f.tar.bz2 |
[svn-r9632] Purpose:
Improvement
Description:
Added strip option to PROD_CFLAGS to remove symbols for smaller
production file size.
Platforms tested:
Tested in TG-NCSA
Misc. update:
Diffstat (limited to 'config')
-rw-r--r-- | config/intel-flags | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/intel-flags b/config/intel-flags index 101aa09..9477281 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -57,7 +57,8 @@ if test "X-icc" = "X-$cc_vendor"; then CFLAGS="${CFLAGS:--std=c99 $arch}" # Production - PROD_CFLAGS="-O3" + # -s to remove all symbols for smaller file + PROD_CFLAGS="-O3 -s" PROD_CPPFLAGS= # Debug @@ -81,7 +82,7 @@ fi case "$cc_vendor-$cc_version" in icc-8.0*) # v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2. - PROD_CFLAGS="-O2" + PROD_CFLAGS="-O2 -s" ;; esac |