diff options
author | niuchl <niuchl@google.com> | 2015-09-04 17:43:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-09-04 17:43:59 +0000 |
commit | 6ea0406747f76d909701053722fd44bc673826c3 (patch) | |
tree | b73947a60412c38c53f2776d9844314b5e06fc3c | |
parent | 6e20e95b2fbea2636d568b0eaf0b9e23918b7393 (diff) | |
parent | 96b41bc46f3e601a4006d04eae42aec98e795248 (diff) | |
download | compiler-rt-6ea0406747f76d909701053722fd44bc673826c3.tar.gz |
Merge "Revert "Update TARGET_ARCH guards to allow x86.""
-rw-r--r-- | lib/asan/Android.mk | 5 | ||||
-rw-r--r-- | lib/ubsan/Android.mk | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/asan/Android.mk b/lib/asan/Android.mk index 41aca4f1b..ff731e399 100644 --- a/lib/asan/Android.mk +++ b/lib/asan/Android.mk @@ -125,8 +125,7 @@ asan_test_cflags := \ -std=c++11 -# Currently, only supported on arm and x86 -ifneq (,$(filter $(TARGET_ARCH),arm x86)) +ifeq ($(TARGET_ARCH),arm) include $(CLEAR_VARS) @@ -253,7 +252,7 @@ include $(BUILD_EXECUTABLE) endif # SKIP_LLVM_TESTS -endif # TARGET_ARCH guard +endif # ifeq($(TARGET_ARCH),arm) ################################################################################ # Host modules diff --git a/lib/ubsan/Android.mk b/lib/ubsan/Android.mk index b7c4a28e0..f4ca635ec 100644 --- a/lib/ubsan/Android.mk +++ b/lib/ubsan/Android.mk @@ -43,8 +43,7 @@ ubsan_rtl_c_includes := \ ################################################################################ # Target modules -# Currently, only supported on arm and x86 -ifneq (,$(filter $(TARGET_ARCH),arm x86)) +ifeq ($(TARGET_ARCH),arm) include $(CLEAR_VARS) LOCAL_MODULE := libubsan @@ -57,7 +56,7 @@ LOCAL_SANITIZE := never LOCAL_MULTILIB := both include $(BUILD_STATIC_LIBRARY) -endif # TARGET_ARCH guard +endif # ($(TARGET_ARCH),arm) ################################################################################ # Host modules |