summaryrefslogtreecommitdiffstats
path: root/compiler/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/Android.mk')
-rw-r--r--compiler/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/Android.mk b/compiler/Android.mk
index 5dbcd07..1ed0490 100644
--- a/compiler/Android.mk
+++ b/compiler/Android.mk
@@ -243,6 +243,11 @@ $$(ENUM_OPERATOR_OUT_GEN): $$(GENERATED_SRC_DIR)/%_operator_out.cc : $(LOCAL_PAT
endif
endif
+ ifneq ($(TARGET_HAVE_QC_PERF),true)
+ # CAF bailout patches break dex2oat on some devices - disable them if unneeded
+ LOCAL_CFLAGS += -DDISABLE_CAF_BAILOUT
+ endif
+
LOCAL_C_INCLUDES += $(ART_C_INCLUDES) art/runtime
ifeq ($$(art_target_or_host),host)