boost: fix mips*-musl build
This commit is contained in:
parent
41705ccfa0
commit
8ffd58877b
1 changed files with 11 additions and 0 deletions
11
srcpkgs/boost/patches/mips.patch
Normal file
11
srcpkgs/boost/patches/mips.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- boost/fiber/detail/cpu_relax.hpp 2017-09-02 11:56:11.000000000 +0200
|
||||
+++ boost/fiber/detail/cpu_relax.hpp 2017-11-09 17:25:40.258995963 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
# define cpu_relax() asm volatile ("nop" ::: "memory");
|
||||
# endif
|
||||
#elif BOOST_ARCH_MIPS
|
||||
-# define cpu_relax() asm volatile ("pause" ::: "memory");
|
||||
+# define cpu_relax() asm volatile ("nop" ::: "memory");
|
||||
#elif BOOST_ARCH_PPC
|
||||
// http://code.metager.de/source/xref/gnu/glibc/sysdeps/powerpc/sys/platform/ppc.h
|
||||
// http://stackoverflow.com/questions/5425506/equivalent-of-x86-pause-instruction-for-ppc
|
Loading…
Reference in a new issue