Browse Source

libjpeg-turbo: fix compilation without NEON

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
730c582d29
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libs/libjpeg-turbo/Makefile

+ 6
- 0
libs/libjpeg-turbo/Makefile View File

@ -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…
Cancel
Save