From 33da99a33cab75287d483c2602bb2e40b34b666a Mon Sep 17 00:00:00 2001 From: Lars Poeschel Date: Wed, 22 Aug 2012 09:42:42 +0200 Subject: Fix double optimization on buildsystem for emulator Building the emulator was done with two optimization flags supplied to the compiler. This prevented to do debug builds with unoptimized compilation. This is fixed now. Change-Id: Ie64747fd45fa9a3e2de37ba094b223ef52ef0f19 --- Makefile.android | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Makefile.android') diff --git a/Makefile.android b/Makefile.android index 1f91b64..181986a 100644 --- a/Makefile.android +++ b/Makefile.android @@ -35,12 +35,7 @@ MY_CC := $(HOST_CC) MY_CXX := $(HOST_CXX) MY_AR := $(HOST_AR) -MY_OPTIM := -O2 -g -fno-PIC -falign-functions=0 -fomit-frame-pointer -ifeq ($(BUILD_DEBUG_EMULATOR),true) - MY_OPTIM := -O0 -g -endif - -MY_CFLAGS := $(CONFIG_INCLUDES) $(MY_OPTIM) +MY_CFLAGS := $(CONFIG_INCLUDES) -O2 -g -fno-PIC -falign-functions=0 -fomit-frame-pointer # Overwrite configuration for debug builds. # -- cgit v1.1