mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r9631] Purpose:
Improvement Description: Added strip option to PROD_CFLAGS to remove symbols for smaller production file size. Solution: Platforms tested: Misc. update:
This commit is contained in:
parent
2735166820
commit
bdc10cce53
@ -57,7 +57,8 @@ if test "X-icc" = "X-$cc_vendor"; then
|
|||||||
CFLAGS="${CFLAGS:--std=c99 $arch}"
|
CFLAGS="${CFLAGS:--std=c99 $arch}"
|
||||||
|
|
||||||
# Production
|
# Production
|
||||||
PROD_CFLAGS="-O3"
|
# -s to remove all symbols for smaller file
|
||||||
|
PROD_CFLAGS="-O3 -s"
|
||||||
PROD_CPPFLAGS=
|
PROD_CPPFLAGS=
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
@ -81,7 +82,7 @@ fi
|
|||||||
case "$cc_vendor-$cc_version" in
|
case "$cc_vendor-$cc_version" in
|
||||||
icc-8.0*)
|
icc-8.0*)
|
||||||
# v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.
|
# v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.
|
||||||
PROD_CFLAGS="-O2"
|
PROD_CFLAGS="-O2 -s"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user