Merge pull request #16516 from jefferyto/golang-packages-remove-strip-ldflags
[feed/packages.git] / libs / boost / patches / 010-mips64-fiber.patch
1 --- a/boost/fiber/detail/cpu_relax.hpp
2 +++ b/boost/fiber/detail/cpu_relax.hpp
3 @@ -47,7 +47,7 @@ namespace detail {
4 # else
5 # define cpu_relax() asm volatile ("nop" ::: "memory");
6 # endif
7 -#elif BOOST_ARCH_MIPS && (__mips_isa_rev > 1) && !defined(_MIPS_ARCH_OCTEONP)
8 +#elif BOOST_ARCH_MIPS && (((__mips_isa_rev > 1) && defined(__mips32)) || ((__mips_isa_rev > 2) && defined(__mips64)))
9 # define cpu_relax() asm volatile ("pause" ::: "memory");
10 #elif BOOST_ARCH_PPC
11 // http://code.metager.de/source/xref/gnu/glibc/sysdeps/powerpc/sys/platform/ppc.h