package/boost: don't install boost cmake files
PATCH 1/1 package/boost: don't install boost cmake files
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
--- package/boost/boost.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
package/boost/boost.mk +4 -3
@@ -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)
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/boost: don't install boost cmake files
Quoted 5 lines · On Thu, 18 Apr 2019 11:13:50 +0200 Fabrice Fontaine…
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_DIRSwill be empty
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/4ada26bab5c1e6504c7d8c92672326ced1d336dfSigned-off-by Fabrice Fontaine <[email protected]>--- package/boost/boost.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com