summaryrefslogtreecommitdiff
path: root/build/Android.executable.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/Android.executable.mk')
-rw-r--r--build/Android.executable.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/Android.executable.mk b/build/Android.executable.mk
index 5cf15be1c1..b317d92999 100644
--- a/build/Android.executable.mk
+++ b/build/Android.executable.mk
@@ -24,6 +24,10 @@ ifeq ($(ART_USE_PORTABLE_COMPILER),true)
ART_EXECUTABLES_CFLAGS += -DART_USE_PORTABLE_COMPILER=1
endif
+# add the default instruction set features
+ART_EXECUTABLES_CFLAGS += \
+ -DART_DEFAULT_INSTRUCTION_SET_FEATURES=$(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES)
+
# $(1): executable ("d" will be appended for debug version)
# $(2): source
# $(3): extra shared libraries