Have LOCAL_ASFLAGS honor debug/non-debug configuration.
With this change the NDEBUG macro can be used in assembly
files.
Change-Id: I640594a20d5654de62cd4116087040b565eef0ce
Test: ART host tests.
diff --git a/compiler/Android.mk b/compiler/Android.mk
index e9c22d2..43a50e2 100644
--- a/compiler/Android.mk
+++ b/compiler/Android.mk
@@ -259,8 +259,10 @@
endif
ifeq ($$(art_ndebug_or_debug),debug)
LOCAL_CFLAGS += $(ART_HOST_DEBUG_CFLAGS)
+ LOCAL_ASFLAGS += $(ART_HOST_DEBUG_ASFLAGS)
else
LOCAL_CFLAGS += $(ART_HOST_NON_DEBUG_CFLAGS)
+ LOCAL_ASFLAGS += $(ART_HOST_NON_DEBUG_ASFLAGS)
endif
endif