Disable ASM for tremolo since it may crashes while decoding same specific ogg audio files.
This commit is contained in:
parent
5d8111692e
commit
8680e9849f
|
|
@ -16,21 +16,22 @@ LOCAL_SRC_FILES = \
|
||||||
Tremolo/treminfo.c \
|
Tremolo/treminfo.c \
|
||||||
Tremolo/vorbisfile.c
|
Tremolo/vorbisfile.c
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH),arm)
|
# Disable arm optimization which will cause the issue https://github.com/cocos2d/cocos2d-x/issues/17148
|
||||||
LOCAL_SRC_FILES += \
|
# ifeq ($(TARGET_ARCH),arm)
|
||||||
Tremolo/bitwiseARM.s \
|
# LOCAL_SRC_FILES += \
|
||||||
Tremolo/dpen.s \
|
# Tremolo/bitwiseARM.s \
|
||||||
Tremolo/floor1ARM.s \
|
# Tremolo/dpen.s \
|
||||||
Tremolo/mdctARM.s
|
# Tremolo/floor1ARM.s \
|
||||||
LOCAL_CFLAGS += \
|
# Tremolo/mdctARM.s
|
||||||
-D_ARM_ASSEM_
|
# LOCAL_CFLAGS += \
|
||||||
# Assembly code in asm_arm.h does not compile with Clang.
|
# -D_ARM_ASSEM_
|
||||||
LOCAL_CLANG_ASFLAGS_arm += \
|
# # Assembly code in asm_arm.h does not compile with Clang.
|
||||||
-no-integrated-as
|
# LOCAL_CLANG_ASFLAGS_arm += \
|
||||||
else
|
# -no-integrated-as
|
||||||
|
# else
|
||||||
LOCAL_CFLAGS += \
|
LOCAL_CFLAGS += \
|
||||||
-DONLY_C
|
-DONLY_C
|
||||||
endif
|
# endif
|
||||||
LOCAL_CFLAGS+= -O2
|
LOCAL_CFLAGS+= -O2
|
||||||
|
|
||||||
LOCAL_C_INCLUDES:= \
|
LOCAL_C_INCLUDES:= \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue