mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 15:32:53 +01:00
Merge "Android.mk,mips: fix clang build with r15"
This commit is contained in:
commit
4a9d788e40
@ -15,9 +15,12 @@ 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)),)
|
||||||
# Setting LOCAL_ARM_NEON will enable -mfpu=neon which may cause illegal
|
# Setting LOCAL_ARM_NEON will enable -mfpu=neon which may cause illegal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user