aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.android
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2012-08-22 09:42:42 +0200
committerLars Poeschel <poeschel@lemonage.de>2012-08-22 12:32:36 +0200
commit33da99a33cab75287d483c2602bb2e40b34b666a (patch)
treeab9801e19c6acc57865c8a7891092b0a0f5743ce /Makefile.android
parent08c435499f131d82b5d887dd836cfddbc3384f4c (diff)
downloadexternal_qemu-33da99a33cab75287d483c2602bb2e40b34b666a.zip
external_qemu-33da99a33cab75287d483c2602bb2e40b34b666a.tar.gz
external_qemu-33da99a33cab75287d483c2602bb2e40b34b666a.tar.bz2
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
Diffstat (limited to 'Makefile.android')
-rw-r--r--Makefile.android7
1 files changed, 1 insertions, 6 deletions
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.
#