Commit 4b347baf authored by Lazar Trsic's avatar Lazar Trsic Committed by Chih-Hung Hsieh
Browse files

Do not build libjavacore with clang for mips64

Clang generates illegal instruction on mips64r6 with -O0.
https://dmz-portal.mips.com/bugz/show_bug.cgi?id=2218

Bug: 25928358

Change-Id: I8ccd644f1509b4b341384fa67facc07cb966dfa8
parent ef7e113e
......@@ -86,6 +86,9 @@ LOCAL_SHARED_LIBRARIES += $(core_shared_libraries) libcrypto libdl libexpat libi
LOCAL_STATIC_LIBRARIES += $(core_static_libraries) libziparchive libbase
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjavacore
# clang has issue with local static vars on mips64
# b/25928358, illegal instruction on mips64r6 with -O0
LOCAL_CLANG_mips64 := false
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/NativeCode.mk
LOCAL_CXX_STL := libc++
include $(BUILD_SHARED_LIBRARY)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment