libfizz: Update to 2019.09.09.00
Several size optimizations. ~76KB savings. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
9b18f3ac82
commit
af03174c5a
1 changed files with 14 additions and 16 deletions
|
@ -1,16 +1,16 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libfizz
|
PKG_NAME:=libfizz
|
||||||
PKG_VERSION:=2019.06.10.00
|
PKG_VERSION:=2019.09.09.00
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/v$(PKG_VERSION)?
|
||||||
PKG_HASH:=29a9b2d020b70b83bf27fa6332c07c4ae9cca3b82c5ac9214220a815d7f1fe7f
|
PKG_HASH:=c8e0317fb16b283784ef8607440d0077b4425d1a28d74ea6b083a385bcfb14f6
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
|
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
|
||||||
PKG_LICENSE:=BSD
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
@ -21,25 +21,23 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/cmake.mk
|
include $(INCLUDE_DIR)/cmake.mk
|
||||||
|
|
||||||
define Package/libfizz
|
define Package/libfizz
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=+libfolly
|
DEPENDS:=+libfolly
|
||||||
TITLE:=C++14 implementation of the TLS-1.3 standard
|
TITLE:=C++14 implementation of the TLS-1.3 standard
|
||||||
URL:=https://github.com/facebookincubator/fizz
|
URL:=https://github.com/facebookincubator/fizz
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libfizz/description
|
define Package/libfizz/description
|
||||||
C++14 implementation of the TLS-1.3 standard.
|
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.
|
Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
CMAKE_OPTIONS += \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBoost_NO_BOOST_CMAKE=ON \
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_EXAMPLES=OFF
|
||||||
|
|
||||||
define Package/libfizz/install
|
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfizz.so* $(1)/usr/lib/
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libfizz))
|
$(eval $(call BuildPackage,libfizz))
|
||||||
|
|
Loading…
Reference in a new issue