packages/libs/boost/patches/001-mips-options-fix.patch
claymore 46663ca803 Boost Patch update
This update follows after the previous update[1]
  Due to the Boost Dev patch submited in [2], this commit also updates
    the boost patch in order to, instead of excluding all architectures
    that do not support -m32 and -m64 options, it now includes only the
    architectures that do support it.

 [1]: https://github.com/openwrt/packages/pull/1186
 [2]: https://github.com/boostorg/build/pull/76

 Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
2015-05-04 00:47:21 +01:00

11 lines
458 B
Diff

--- 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) = power || $(arch) = sparc || $(arch) = x86
{
if $(model) = 32
{