diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2014-04-07 18:31:23 -0700 |
---|---|---|
committer | Mohamad Ayyash <mkayyash@google.com> | 2014-04-07 19:19:52 -0700 |
commit | 55720814c8712f699f88ea483aa538db2fba9e79 (patch) | |
tree | f5aff01218cd6dfe6cc429dd45727094a22395df | |
parent | 855b8a20be0cff41dbfbb245b91fe417acf194cf (diff) | |
download | ltrace-55720814c8712f699f88ea483aa538db2fba9e79.tar.gz |
ltrace: Build ltrace on arm, arm64 and x86 only.
Change-Id: Ic9345c28f5b02da43600c6ec2086c8c734f54ebd
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | output.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -184,6 +184,8 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_TAGS := debug +LOCAL_MODULE_TARGET_ARCH := arm arm64 x86 + LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk include $(BUILD_EXECUTABLE) @@ -725,7 +725,7 @@ output_right(enum tof type, struct process *proc, struct library_symbol *libsym, /* Verify that we can safely cast arch_addr_t* to * unw_word_t*. */ - (void)sizeof(char[1 - (2*(sizeof(unw_word_t)) + (void)sizeof(char[1 - 2*(sizeof(unw_word_t) != sizeof(arch_addr_t))]); unw_init_remote(&cursor, proc->unwind_as, proc->unwind_priv); while (unwind_depth) { |