From bdc10cce5380ba2895dc658a360845830b9451e4 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 7 Dec 2004 13:25:43 -0500 Subject: [PATCH] [svn-r9631] Purpose: Improvement Description: Added strip option to PROD_CFLAGS to remove symbols for smaller production file size. Solution: Platforms tested: Misc. update: --- config/intel-flags | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/intel-flags b/config/intel-flags index 101aa09cbe..9477281d8d 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