[Buildroot] [PATCH 1/2] package/thrift: fix build failure on bfin

Romain Naour romain.naour at openwide.fr
Mon Feb 23 23:39:22 UTC 2015


Hi Thomas, All,

This patch is wrong since THRIFT_CONF_OPTS is overwritten here (missing +)
THRIFT_CONF_OPTS = lt_cv_aix_libpath__CXX="/usr/lib"

So previous THRIFT_CONF_OPTS were discarded:
THRIFT_CONF_OPTS = --with-sysroot=$(STAGING_DIR) \
	--with-boost=$(STAGING_DIR) \
	--disable-tests \
	--disable-tutorial

That why the tests were build...

But the issue seems to be related to --with-boost=$(STAGING_DIR) option.
There is no error if you remove this option.

So I used --with-boost-libdir=$(STAGING_DIR)/usr/lib to override boost libraries
path detection.

Please give a try to the new patch:
http://patchwork.ozlabs.org/patch/442702/

Best regards,
Romain


More information about the buildroot mailing list