libjpeg-turbo: fix compilation without NEON
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
bdb017dd40
commit
730c582d29
1 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,12 @@ CMAKE_OPTIONS += \
|
||||||
-DWITH_SIMD=O$(if $(findstring mips,$(CONFIG_ARCH)),FF,N) \
|
-DWITH_SIMD=O$(if $(findstring mips,$(CONFIG_ARCH)),FF,N) \
|
||||||
-DWITH_TURBOJPEG=OFF
|
-DWITH_TURBOJPEG=OFF
|
||||||
|
|
||||||
|
ifneq ($(findstring arm,$(CONFIG_ARCH)),)
|
||||||
|
ifeq ($(findstring neon,$(CONFIG_CPU_TYPE)),)
|
||||||
|
CMAKE_OPTIONS += -DWITH_SIMD=OFF
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
||||||
|
|
Loading…
Reference in a new issue