libjpeg-turbo: fix compilation without NEON

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-06-03 13:21:13 -07:00
parent bdb017dd40
commit 730c582d29
1 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,12 @@ CMAKE_OPTIONS += \
-DWITH_SIMD=O$(if $(findstring mips,$(CONFIG_ARCH)),FF,N) \
-DWITH_TURBOJPEG=OFF
ifneq ($(findstring arm,$(CONFIG_ARCH)),)
ifeq ($(findstring neon,$(CONFIG_CPU_TYPE)),)
CMAKE_OPTIONS += -DWITH_SIMD=OFF
endif
endif
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/