[Buildroot] [PATCH 1/1] package/boost: don't install boost cmake files
Fabrice Fontaine
fontaine.fabrice at gmail.com
Thu Apr 18 09:13:50 UTC 2019
Since version 1.70.0, boost installs its own cmake files which are
utterly broken so don't install them otherwise all cmake packages using
boost (host-thrift, domoticz, i2pd ...) will fail because
BOOST_INCLUDE_DIRS will be empty
Fixes:
- http://autobuild.buildroot.org/results/4ada26bab5c1e6504c7d8c92672326ced1d336df
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/boost/boost.mk | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 920a3dd37f..a2d8395fd4 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -76,8 +76,8 @@ BOOST_DEPENDENCIES += python
endif
endif
-HOST_BOOST_OPTS += toolset=gcc threading=multi variant=release link=shared \
- runtime-link=shared
+HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \
+ variant=release link=shared runtime-link=shared
ifeq ($(BR2_MIPS_OABI32),y)
BOOST_ABI = o32
@@ -87,7 +87,8 @@ else
BOOST_ABI = sysv
endif
-BOOST_OPTS += toolset=gcc \
+BOOST_OPTS += --no-cmake-config \
+ toolset=gcc \
threading=multi \
abi=$(BOOST_ABI) \
variant=$(if $(BR2_ENABLE_DEBUG),debug,release)
--
2.20.1
More information about the buildroot
mailing list