forked from mirrors/linphone-iphone
Enable neon optimizations for speex in arm64
This commit is contained in:
parent
4e932d85dd
commit
cc2502b15a
2 changed files with 5 additions and 6 deletions
|
|
@ -3,17 +3,16 @@
|
|||
speex_dir=externals/speex
|
||||
|
||||
|
||||
ifneq (,$(findstring arm,$(host)))
|
||||
#SPEEX_CONFIGURE_OPTION := --enable-fixed-point --disable-float-api
|
||||
ifeq (,$(findstring i386,$(host)))
|
||||
CFLAGS := $(CFLAGS) -marm
|
||||
SPEEX_CONFIGURE_OPTION := --disable-float-api --enable-arm5e-asm --enable-fixed-point
|
||||
SPEEX_CONFIGURE_OPTION := --disable-float-api --enable-fixed-point
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring armv7,$(host)))
|
||||
SPEEX_CONFIGURE_OPTION += --enable-armv7neon-asm
|
||||
SPEEX_CONFIGURE_OPTION += --enable-armv7neon-asm --enable-arm5e-asm
|
||||
endif
|
||||
ifneq (,$(findstring aarch64,$(host)))
|
||||
SPEEX_CONFIGURE_OPTION += --disable-armv7neon-asm
|
||||
SPEEX_CONFIGURE_OPTION += --enable-armv7neon-asm
|
||||
endif
|
||||
|
||||
ifeq ($(enable_debug),yes)
|
||||
|
|
|
|||
2
submodules/externals/speex
vendored
2
submodules/externals/speex
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit e2f7b538528a78b5419eceb55f4a9d8e041b1e07
|
||||
Subproject commit f0bbb55db823234366993ce4b64f2b14ab025260
|
||||
Loading…
Add table
Reference in a new issue