mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Android.mk,mips: fix clang build with r15
-integrated-as is now required, the opposite of r14
Change-Id: Ic478b2b3b933e66e7d159030eac29f58743eecda
(cherry picked from commit 4fbdc9fb12
)
This commit is contained in:
parent
8ed24a564c
commit
5505a5b107
@ -15,8 +15,11 @@ endif
|
|||||||
# https://bugs.chromium.org/p/webp/issues/detail?id=343
|
# https://bugs.chromium.org/p/webp/issues/detail?id=343
|
||||||
ifeq ($(findstring clang,$(NDK_TOOLCHAIN_VERSION)),clang)
|
ifeq ($(findstring clang,$(NDK_TOOLCHAIN_VERSION)),clang)
|
||||||
ifeq ($(TARGET_ARCH),mips)
|
ifeq ($(TARGET_ARCH),mips)
|
||||||
|
clang_version := $(shell $(TARGET_CC) --version)
|
||||||
|
ifneq ($(findstring clang version 3,$(clang_version)),)
|
||||||
WEBP_CFLAGS += -no-integrated-as
|
WEBP_CFLAGS += -no-integrated-as
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring armeabi-v7a, $(TARGET_ARCH_ABI)),)
|
ifneq ($(findstring armeabi-v7a, $(TARGET_ARCH_ABI)),)
|
||||||
|
Loading…
Reference in New Issue
Block a user