mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
libfolly: Pass -DBoost_NO_BOOST_CMAKE
It seems the new CMake update broke boost again. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libfolly
|
PKG_NAME:=libfolly
|
||||||
PKG_VERSION:=2019.09.09.00
|
PKG_VERSION:=2019.09.09.00
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/facebook/folly/tar.gz/v$(PKG_VERSION)?
|
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 \
|
-DFOLLY_HAVE_WCHAR_SUPPORT_EXITCODE__TRYRUN_OUTPUT=OFF \
|
||||||
-DHAVE_VSNPRINTF_ERRORS_EXITCODE=OFF \
|
-DHAVE_VSNPRINTF_ERRORS_EXITCODE=OFF \
|
||||||
-DHAVE_VSNPRINTF_ERRORS_EXITCODE__TRYRUN_OUTPUT=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_CXXFLAGS += -ffunction-sections -fdata-sections -flto
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
||||||
|
|||||||
Reference in New Issue
Block a user