git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
bdb017d
)
libjpeg-turbo: fix compilation without NEON
author
Rosen Penev
<redacted>
Thu, 3 Jun 2021 20:21:13 +0000
(13:21 -0700)
committer
Rosen Penev
<redacted>
Thu, 3 Jun 2021 20:21:52 +0000
(13:21 -0700)
Signed-off-by: Rosen Penev <redacted>
libs/libjpeg-turbo/Makefile
patch
|
blob
|
history
diff --git
a/libs/libjpeg-turbo/Makefile
b/libs/libjpeg-turbo/Makefile
index bc84e929bc3a3dd071a2c7bcb12a6717e79409f1..ba29eb13c31e6b1b4bbb98e0fc0a2044ff3e0812 100644
(file)
--- a/
libs/libjpeg-turbo/Makefile
+++ b/
libs/libjpeg-turbo/Makefile
@@
-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/
git clone https://git.99rst.org/PROJECT