|
|
@ -1,13 +1,14 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=libfolly |
|
|
|
PKG_VERSION:=2019.09.09.00 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_VERSION:=2019.09.22.00 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/facebook/folly/tar.gz/v$(PKG_VERSION)? |
|
|
|
PKG_HASH:=1aac1bb5c2e22fea68780734069ee73188523c5ede8cd210e3fa81a1ae56bfe0 |
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/folly-$(PKG_VERSION) |
|
|
|
PKG_SOURCE_VERSION:=af2373b9858c61685eb6eb2f1db99d9a31edd58e |
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/facebook/folly/tar.gz/$(PKG_SOURCE_VERSION)? |
|
|
|
PKG_HASH:=fbf25a96e5487fcd959ff50ff1c5413c8e18b8aaa9af3d2406156d750167affd |
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/folly-$(PKG_SOURCE_VERSION) |
|
|
|
|
|
|
|
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com> |
|
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
@ -48,8 +49,7 @@ CMAKE_OPTIONS += \ |
|
|
|
-DFOLLY_HAVE_WCHAR_SUPPORT_EXITCODE__TRYRUN_OUTPUT=OFF \
|
|
|
|
-DHAVE_VSNPRINTF_ERRORS_EXITCODE=OFF \
|
|
|
|
-DHAVE_VSNPRINTF_ERRORS_EXITCODE__TRYRUN_OUTPUT=OFF \
|
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
|
|
-DBoost_NO_BOOST_CMAKE=ON |
|
|
|
-DBUILD_SHARED_LIBS=ON |
|
|
|
|
|
|
|
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto |
|
|
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed |
|
|
|