From 123c469d3e77014c6019e76490093dc28e3d7ef3 Mon Sep 17 00:00:00 2001 From: "John \"Juce\" Bruce" Date: Fri, 19 Jun 2015 16:33:11 -0700 Subject: [PATCH] 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 --- libwvdrmengine/oemcrypto/test/common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libwvdrmengine/oemcrypto/test/common.mk b/libwvdrmengine/oemcrypto/test/common.mk index 44e0841e..38430199 100644 --- a/libwvdrmengine/oemcrypto/test/common.mk +++ b/libwvdrmengine/oemcrypto/test/common.mk @@ -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 \