aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.android
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-23 02:28:22 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-23 02:28:22 -0700
commit1ffbb6b1f80ccd557080b4e91b35e18b97f981e6 (patch)
treeab9801e19c6acc57865c8a7891092b0a0f5743ce /Makefile.android
parent08c435499f131d82b5d887dd836cfddbc3384f4c (diff)
parent33da99a33cab75287d483c2602bb2e40b34b666a (diff)
downloadexternal_qemu-1ffbb6b1f80ccd557080b4e91b35e18b97f981e6.zip
external_qemu-1ffbb6b1f80ccd557080b4e91b35e18b97f981e6.tar.gz
external_qemu-1ffbb6b1f80ccd557080b4e91b35e18b97f981e6.tar.bz2
Merge "Fix double optimization on buildsystem for emulator"
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.
#