From 27ae639556cecad1261f71807ef4253584928a44 Mon Sep 17 00:00:00 2001 From: "crowder@fiverocks.com" Date: Tue, 18 Dec 2007 17:05:48 -0800 Subject: [PATCH] Bug 407600 - Compile Spidermonkey with -Os on Mac, r=bsmedberg, no approval needed, NPOTB --- js/src/config.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/src/config.mk b/js/src/config.mk index f622d30a81b..fb7e13d0a64 100644 --- a/js/src/config.mk +++ b/js/src/config.mk @@ -117,7 +117,11 @@ CP = cp endif ifdef BUILD_OPT -OPTIMIZER = -O +ifdef USE_MSVC +OPTIMIZER = -O1 +else +OPTIMIZER = -Os +endif DEFINES += -UDEBUG -DNDEBUG -UDEBUG_$(USER) OBJDIR_TAG = _OPT else