summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2014-09-03 16:10:49 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-09-04 17:30:33 +0200
commitb37641c95be79fcb76cbc7042c4cf21a2c64d0f6 (patch)
treef820eb4eed4ed804f29ac5b7fd5e42388680ebba
parenta5f31ade0374f107937e6204c4dd9879407dc217 (diff)
downloadbuildroot-b37641c95be79fcb76cbc7042c4cf21a2c64d0f6.tar.gz
buildroot-b37641c95be79fcb76cbc7042c4cf21a2c64d0f6.zip
boost: Force the target ABI for MIPS architecture
The default ABI used in boost is 'sysv' which is not valid for MIPS. Given the boost build system doesn't detect the right ABI when we are cross-compiling, we fix this by passing the right ABI directly to the boost options for the target. Related: https://svn.boost.org/trac/boost/ticket/10442 Fixes: http://autobuild.buildroot.net/results/79f/79fe4caffb9a3b9f1b203498a589a5172bd0acea/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/boost/boost.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 2cd76ce08f..ac67e3c173 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -82,6 +82,7 @@ HOST_BOOST_OPT += toolset=gcc threading=multi variant=release link=shared \
BOOST_OPT += toolset=gcc \
threading=multi \
+ abi=$(if $(BR2_MIPS_OABI32),o32,sysv) \
variant=$(if $(BR2_ENABLE_DEBUG),debug,release) \
link=$(if $(BR2_PREFER_STATIC_LIB),static,shared) \
runtime-link=$(if $(BR2_PREFER_STATIC_LIB),static,shared)
OpenPOWER on IntegriCloud