Do Not Use GNU-Style Hashing on MIPS
(This is a merge of http://go/wvgerrit/14801) The MIPS compiler does not support GNU hashing, which means this compiler option needs to be excluded. Bug: 19482469 Change-Id: I913f666a39eb535a33ebfbc49e5e7531115db5d4
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
LOCAL_PATH:= $(call my-dir)
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
ifneq ($(TARGET_ARCH),mips)
|
||||||
|
|
||||||
# Tests need to be compatible with devices that do not support gnu hash-style
|
# Tests need to be compatible with devices that do not support gnu hash-style
|
||||||
LOCAL_LDFLAGS+=-Wl,--hash-style=both
|
LOCAL_LDFLAGS+=-Wl,--hash-style=both
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
LOCAL_SRC_FILES:= \
|
LOCAL_SRC_FILES:= \
|
||||||
oemcrypto_test.cpp \
|
oemcrypto_test.cpp \
|
||||||
oemcrypto_test_android.cpp \
|
oemcrypto_test_android.cpp \
|
||||||
|
|||||||
Reference in New Issue
Block a user