diff options
Diffstat (limited to 'package/libs/zlib/Makefile')
-rw-r--r-- | package/libs/zlib/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libs/zlib/Makefile b/package/libs/zlib/Makefile index 597d0b6871..3602e629cf 100644 --- a/package/libs/zlib/Makefile +++ b/package/libs/zlib/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zlib PKG_VERSION:=1.2.11 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SF/libpng http://www.zlib.net @@ -49,6 +49,11 @@ endef TARGET_CFLAGS += $(FPIC) +ifneq ($(findstring neon,$(CONFIG_TARGET_OPTIMIZATION)),) + CMAKE_OPTIONS += \ + -DARMv8=ON +endif + define Build/InstallDev mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/z{conf,lib}.h \ |