From e95ae524f7ae50bbad2b27f717c2f91108c25dc4 Mon Sep 17 00:00:00 2001 From: claymore Date: Fri, 24 Apr 2015 03:06:57 +0100 Subject: [PATCH] Added patch for Boost.Build Unfortunatly, due to changes in Boost, Boost.Build for version 1.58.0 requires a patch for gcc.jam. This patch prevents bjam from adding -m32 and -m64 options to gcc compiler, when compiling for targets that use the mips1 arch. Patch initially provided by paalsteek (https://github.com/paalsteek) Bug discussed here: https://github.com/openwrt/packages/issues/1160 Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com --- libs/boost/patches/001-mips-options-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/boost/patches/001-mips-options-fix.patch diff --git a/libs/boost/patches/001-mips-options-fix.patch b/libs/boost/patches/001-mips-options-fix.patch new file mode 100644 index 0000000000..b32f447928 --- /dev/null +++ b/libs/boost/patches/001-mips-options-fix.patch @@ -0,0 +1,11 @@ +--- boost_1_58_0/tools/build/src/tools/gcc.jam 2015-04-23 12:01:37.723438995 +0200 ++++ boost_1_58_0/tools/build/src/tools/gcc.jam 2015-04-23 12:00:21.427441384 +0200 +@@ -451,7 +451,7 @@ + else + { + local arch = [ feature.get-values architecture : $(properties) ] ; +- if $(arch) != arm ++ if $(arch) != arm && $(arch) != mips1 + { + if $(model) = 32 + { -- 2.30.2