summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-07 18:25:43 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-07 18:25:43 (GMT)
commitbdc10cce5380ba2895dc658a360845830b9451e4 (patch)
treebbc8670a0c124f06ceab26dfaf2d5474f2babafb /config
parent27351668203bffa856935d7e4ee593262fade8df (diff)
downloadhdf5-bdc10cce5380ba2895dc658a360845830b9451e4.zip
hdf5-bdc10cce5380ba2895dc658a360845830b9451e4.tar.gz
hdf5-bdc10cce5380ba2895dc658a360845830b9451e4.tar.bz2
[svn-r9631] Purpose:
Improvement Description: Added strip option to PROD_CFLAGS to remove symbols for smaller production file size. Solution: Platforms tested: 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