Browse Source

libpng: remove hardware optimizations for mipsel

The mipsel optimizations are only MSA and not any DSP, which means they're
useless for OpenWrt targets.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
e176444f5a
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libs/libpng/Makefile

+ 2
- 2
libs/libpng/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libpng PKG_NAME:=libpng
PKG_VERSION:=1.6.37 PKG_VERSION:=1.6.37
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SF/libpng PKG_SOURCE_URL:=@SF/libpng
@ -41,7 +41,7 @@ CMAKE_OPTIONS += \
-DPNG_TESTS=OFF \ -DPNG_TESTS=OFF \
-DPNG_FRAMEWORK=OFF \ -DPNG_FRAMEWORK=OFF \
-DPNG_DEBUG=OFF \ -DPNG_DEBUG=OFF \
-DPNG_HARDWARE_OPTIMIZATIONS=O$(if $(findstring powerpc,$(CONFIG_ARCH)),FF,N) \
-DPNG_HARDWARE_OPTIMIZATIONS=O$(if $(findstring powerpc,$(CONFIG_ARCH))$(findstring mipsel,$(CONFIG_ARCH)),FF,N) \
-Dld-version-script=OFF -Dld-version-script=OFF
TARGET_LDFLAGS += -lz TARGET_LDFLAGS += -lz


Loading…
Cancel
Save