diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/Android.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/Android.mk b/compiler/Android.mk index 3e0378ce2f..eb9ad475b4 100644 --- a/compiler/Android.mk +++ b/compiler/Android.mk @@ -207,7 +207,9 @@ define build-libart-compiler ifeq ($$(art_ndebug_or_debug),ndebug) LOCAL_MODULE := libart-compiler LOCAL_SHARED_LIBRARIES += libart - LOCAL_FDO_SUPPORT := true + ifeq ($$(art_target_or_host),target) + LOCAL_FDO_SUPPORT := true + endif else # debug LOCAL_MODULE := libartd-compiler LOCAL_SHARED_LIBRARIES += libartd |