diff --git a/libs/libfizz/Makefile b/libs/libfizz/Makefile index 25ccf180d..49f0eecc0 100644 --- a/libs/libfizz/Makefile +++ b/libs/libfizz/Makefile @@ -1,16 +1,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libfizz -PKG_VERSION:=2019.06.10.00 +PKG_VERSION:=2019.09.22.00 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=29a9b2d020b70b83bf27fa6332c07c4ae9cca3b82c5ac9214220a815d7f1fe7f -PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION) +PKG_SOURCE_VERSION:=0ccff0813dea8d3f730d9c3a1b80e6936522d3f3 +PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/$(PKG_SOURCE_VERSION)? +PKG_HASH:=32a8de32e7a83e53ad44931ac637f6e17ce7f81bd65bc835f14d59442041e7f6 +PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_SOURCE_VERSION) PKG_MAINTAINER:=Amol Bhave -PKG_LICENSE:=BSD +PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE PKG_CPE_ID:=cpe:/a:facebook:fizz @@ -22,25 +23,22 @@ include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk define Package/libfizz - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libfolly - TITLE:=C++14 implementation of the TLS-1.3 standard - URL:=https://github.com/facebookincubator/fizz + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libfolly + TITLE:=C++14 implementation of the TLS-1.3 standard + URL:=https://github.com/facebookincubator/fizz endef define Package/libfizz/description - C++14 implementation of the TLS-1.3 standard. - Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23. + C++14 implementation of the TLS-1.3 standard. + Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23. endef CMAKE_OPTIONS += \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_SHARED_LIBS=ON + -DBUILD_EXAMPLES=OFF -define Package/libfizz/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfizz.so* $(1)/usr/lib/ -endef +TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto +TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed $(eval $(call BuildPackage,libfizz))