Bug 400759, PSM should build with NSS size optimization r=rrelyea, r=wtc, a=beltzner
authorkaie@kuix.de
Wed, 24 Oct 2007 15:25:30 -0700
changeset 7149 71b592e88f271c9285a94053610b04b8fd611711
parent 7148 6dbe3f0da399d7f1fe6e9d67181f95d5b71422da
child 7150 5aa2631f68a8c490c6474ce5adfde5e9493b9d78
push idunknown
push userunknown
push dateunknown
reviewersrrelyea, wtc, beltzner
bugs400759
milestone1.9a9pre
Bug 400759, PSM should build with NSS size optimization r=rrelyea, r=wtc, a=beltzner
security/manager/Makefile.in
--- a/security/manager/Makefile.in
+++ b/security/manager/Makefile.in
@@ -151,17 +151,17 @@ DEFAULT_GMAKE_FLAGS += NSPR_LIB_DIR=$(NS
 DEFAULT_GMAKE_FLAGS += MOZILLA_CLIENT=1
 DEFAULT_GMAKE_FLAGS += NO_MDUPDATE=1
 DEFAULT_GMAKE_FLAGS += NSS_ENABLE_ECC=1
 ABS_topsrcdir   := $(shell cd $(topsrcdir); pwd)
 ifneq ($(ABS_topsrcdir),$(MOZ_BUILD_ROOT))
 DEFAULT_GMAKE_FLAGS += BUILD_TREE=$(MOZ_BUILD_ROOT)
 endif
 ifndef MOZ_DEBUG
-DEFAULT_GMAKE_FLAGS += BUILD_OPT=1
+DEFAULT_GMAKE_FLAGS += BUILD_OPT=1 OPT_CODE_SIZE=1
 endif
 ifdef GNU_CC
 DEFAULT_GMAKE_FLAGS += NS_USE_GCC=1 NS_USE_NATIVE=
 else
 DEFAULT_GMAKE_FLAGS += NS_USE_GCC= NS_USE_NATIVE=1
 endif
 ifdef USE_N32
 # It is not really necessary to specify USE_PTHREADS=1.  USE_PTHREADS