From 8ffd58877b01db5682515fe8621f5db3288172ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 9 Nov 2017 17:30:46 +0100 Subject: [PATCH] boost: fix mips*-musl build --- srcpkgs/boost/patches/mips.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/boost/patches/mips.patch diff --git a/srcpkgs/boost/patches/mips.patch b/srcpkgs/boost/patches/mips.patch new file mode 100644 index 0000000000..502ae1cf59 --- /dev/null +++ b/srcpkgs/boost/patches/mips.patch @@ -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