1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

audio/spectacle-lv2: fix build on powerpc

powerpc64 fix is also valid for powerpc.
This commit is contained in:
Piotr Kubaj 2021-06-16 23:24:33 +00:00
parent 499a93b228
commit 02649292c6

View File

@ -4,7 +4,7 @@
asm volatile ("nop" ::: "memory");
#endif
}
+#elif defined(__powerpc64__)
+#elif defined(__powerpc__)
+static inline void spin_loop_pause() noexcept {
+ asm volatile("ori 0,0,0" ::: "memory");
+}