diff options
author | Chih-Hung Hsieh <chh@google.com> | 2014-12-18 19:25:50 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2015-01-07 19:05:08 -0800 |
commit | 86bb22e188f587ba64a0e62ae5f44363d573345d (patch) | |
tree | ac7459c119d2c0667bfa62d32f86411724287e06 /sigchainlib | |
parent | 4270e74152d8a7cd979ab5a92fe2a8f84adb8a42 (diff) | |
download | art-86bb22e188f587ba64a0e62ae5f44363d573345d.zip art-86bb22e188f587ba64a0e62ae5f44363d573345d.tar.gz art-86bb22e188f587ba64a0e62ae5f44363d573345d.tar.bz2 |
Do not use clang for mips target.
Clang assembler cannot compile some inlined assembly code
in valgrind_malloc_space-inl.h:192:5: error: used $at without ".set noat"
However, clang generated assembly code for runtime/mirror/array.cc
cannot be compiled by gas.
BUG: 18789639
BUG: 18807290
Change-Id: Ifdeb3c50f11cefc7f0d62c1d36fdd1f8b9344fb4
Diffstat (limited to 'sigchainlib')
-rw-r--r-- | sigchainlib/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sigchainlib/Android.mk b/sigchainlib/Android.mk index b7ff360..35dec4b 100644 --- a/sigchainlib/Android.mk +++ b/sigchainlib/Android.mk @@ -28,6 +28,7 @@ LOCAL_MODULE:= libsigchain LOCAL_SHARED_LIBRARIES := liblog LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.common_build.mk +$(eval $(call set-target-local-clang-vars)) include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) @@ -40,6 +41,7 @@ LOCAL_MODULE:= libsigchain LOCAL_SHARED_LIBRARIES := liblog LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.common_build.mk +$(eval $(call set-target-local-clang-vars)) include $(BUILD_STATIC_LIBRARY) # Build host library. |