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:
John "Juce" Bruce
2015-06-19 16:33:11 -07:00
parent 20b07afad9
commit 123c469d3e

View File

@@ -1,8 +1,12 @@
LOCAL_PATH:= $(call my-dir)
ifneq ($(TARGET_ARCH),mips)
# Tests need to be compatible with devices that do not support gnu hash-style
LOCAL_LDFLAGS+=-Wl,--hash-style=both
endif
LOCAL_SRC_FILES:= \
oemcrypto_test.cpp \
oemcrypto_test_android.cpp \