summaryrefslogtreecommitdiffstats
path: root/core/binary.mk
diff options
context:
space:
mode:
authorDave Bort <dbort@android.com>2009-04-23 18:44:55 -0700
committerDave Bort <dbort@android.com>2009-05-04 18:12:32 -0700
commit952824843b868560713f668887e1961de534a250 (patch)
tree2043b341a2511bb799c5d571f58e062b0a7424d4 /core/binary.mk
parent6062815e2e5db38ad90d580782bd733e23d027f2 (diff)
downloadbuild-952824843b868560713f668887e1961de534a250.zip
build-952824843b868560713f668887e1961de534a250.tar.gz
build-952824843b868560713f668887e1961de534a250.tar.bz2
core: Don't debug native modules when TARGET_BUILD_TYPE==debug
Don't make the simulator default to debug mode. Remove all global "debug" {C,CPP}FLAGS, which are no longer used.
Diffstat (limited to 'core/binary.mk')
-rw-r--r--core/binary.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/binary.mk b/core/binary.mk
index 0f35d3f..b64bc81 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -47,11 +47,11 @@ LOCAL_ARM_MODE := $(strip $(LOCAL_ARM_MODE))
arm_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),arm)
normal_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),thumb)
-# Read the values from something like TARGET_arm_release_CFLAGS or
-# TARGET_thumb_debug_CFLAGS. HOST_(arm|thumb)_(release|debug)_CFLAGS
-# values aren't actually used (although they are usually empty).
-arm_objects_cflags := $($(my_prefix)$(arm_objects_mode)_$($(my_prefix)BUILD_TYPE)_CFLAGS)
-normal_objects_cflags := $($(my_prefix)$(normal_objects_mode)_$($(my_prefix)BUILD_TYPE)_CFLAGS)
+# Read the values from something like TARGET_arm_CFLAGS or
+# TARGET_thumb_CFLAGS. HOST_(arm|thumb)_CFLAGS values aren't
+# actually used (although they are usually empty).
+arm_objects_cflags := $($(my_prefix)$(arm_objects_mode)_CFLAGS)
+normal_objects_cflags := $($(my_prefix)$(normal_objects_mode)_CFLAGS)
###########################################################
## Define per-module debugging flags. Users can turn on