From 77ef28c90190010c59cf9e87de56340d145e88f0 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 6 Nov 2012 11:46:28 -0800 Subject: [PATCH] fixed optimization Change-Id: I61f79170782254b7baafd143a6cd133f1d6cfea8 --- coreconf/Linux.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/coreconf/Linux.mk b/coreconf/Linux.mk index 177a3c8..c7d39fd 100644 --- a/coreconf/Linux.mk +++ b/coreconf/Linux.mk @@ -111,11 +111,7 @@ ifeq ($(OS_RELEASE),2.0) endif ifdef BUILD_OPT -ifeq (11,$(ALLOW_OPT_CODE_SIZE)$(OPT_CODE_SIZE)) - OPTIMIZER = -Os -else - OPTIMIZER = -O2 -endif + OPTIMIZER = $(OPT_FLAGS) ifdef MOZ_DEBUG_SYMBOLS ifdef MOZ_DEBUG_FLAGS OPTIMIZER += $(MOZ_DEBUG_FLAGS) -- 2.7.4