소스 검색

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>
Vicente Olivert Riera 11 년 전
부모
커밋
b37641c95b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      package/boost/boost.mk

+ 1 - 0
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)