summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-07 18:25:56 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-07 18:25:56 (GMT)
commitc668bdbda9fcc54e82e5635e309c4b6b44d3ee7f (patch)
tree3d73a2fe9f75f87165780f532f84addca808d15d /config
parent8f351521db7bb137e9ef686f9ed497110e71e879 (diff)
downloadhdf5-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-flags5
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