Merge pull request #12191 from neheb/libwebp
libwebp: fix compilation under ARM without NEON
This commit is contained in:
commit
498527fa50
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libwebp
|
PKG_NAME:=libwebp
|
||||||
PKG_VERSION:=1.1.0
|
PKG_VERSION:=1.1.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://storage.googleapis.com/downloads.webmproject.org/releases/webp
|
PKG_SOURCE_URL:=https://storage.googleapis.com/downloads.webmproject.org/releases/webp
|
||||||
|
@ -41,6 +41,12 @@ CMAKE_OPTIONS += \
|
||||||
-DWEBP_BUILD_WEBPMUX=OFF \
|
-DWEBP_BUILD_WEBPMUX=OFF \
|
||||||
-DWEBP_BUILD_EXTRAS=OFF
|
-DWEBP_BUILD_EXTRAS=OFF
|
||||||
|
|
||||||
|
ifneq ($(findstring arm,$(CONFIG_ARCH)),)
|
||||||
|
ifeq ($(findstring neon,$(CONFIG_CPU_TYPE)),)
|
||||||
|
CMAKE_OPTIONS += -DWEBP_ENABLE_SIMD=OFF
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
TARGET_CFLAGS += -flto
|
TARGET_CFLAGS += -flto
|
||||||
|
|
||||||
define Package/libwebp/install
|
define Package/libwebp/install
|
||||||
|
|
Loading…
Reference in a new issue