aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-03-14 19:18:44 -0700
committerRosen Penev <rosenp@gmail.com>2021-03-24 15:44:50 -0700
commit7b2a817bab0037f87c231680580570aed5542c8f (patch)
tree26359c81b31c1c2fb82423e7ec8a5acdec00c618
parent82edde6a0dc8036f28573ada4cb0a24299af9a13 (diff)
libpng: do not build MIPS MSA code at all
The CMake file matches on mipsel and mips64el. Just remove mips altogether. Also build with ninja for faster compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--libs/libpng/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/libpng/Makefile b/libs/libpng/Makefile
index 43797e5a0..1a131560d 100644
--- a/libs/libpng/Makefile
+++ b/libs/libpng/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libpng
PKG_VERSION:=1.6.37
-PKG_RELEASE:=10
+PKG_RELEASE:=11
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SF/libpng
@@ -20,10 +20,8 @@ PKG_LICENSE:=Libpng GPL-2.0-or-later BSD-3-Clause
PKC_LICENSE_FILES:=LICENSE contrib/gregbook/COPYING contrib/gregbook/LICENSE
PKG_CPE_ID:=cpe:/a:libpng:libpng
-PKG_BUILD_PARALLEL:=1
-
include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
+include ../../devel/ninja/ninja-cmake.mk
define Package/libpng
SECTION:=libs
@@ -42,7 +40,7 @@ CMAKE_OPTIONS += \
-DPNG_TESTS=OFF \
-DPNG_FRAMEWORK=OFF \
-DPNG_DEBUG=OFF \
- -DPNG_HARDWARE_OPTIMIZATIONS=O$(if $(findstring powerpc,$(CONFIG_ARCH))$(findstring mipsel,$(CONFIG_ARCH)),FF,N) \
+ -DPNG_HARDWARE_OPTIMIZATIONS=O$(if $(findstring powerpc,$(CONFIG_ARCH))$(findstring mips,$(CONFIG_ARCH)),FF,N) \
-Dld-version-script=OFF
define Build/InstallDev