|
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=libfolly |
|
|
|
PKG_VERSION:=2019.09.09.00 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/facebook/folly/tar.gz/v$(PKG_VERSION)? |
|
|
@ -48,7 +48,8 @@ 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 |
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
|
|
-DBoost_NO_BOOST_CMAKE=ON |
|
|
|
|
|
|
|
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto |
|
|
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed |
|
|
|