diff --git a/srcpkgs/fail/patches/ppc.patch b/srcpkgs/fail/patches/ppc.patch new file mode 100644 index 00000000000..48eed0cb526 --- /dev/null +++ b/srcpkgs/fail/patches/ppc.patch @@ -0,0 +1,11 @@ +--- fail.c ++++ fail.c +@@ -115,6 +115,8 @@ void illegalins() + : : : "memory"); + #elif defined(__aarch64__) + __asm__ __volatile__ (".word 0x00800011" : : : "memory"); ++#elif defined(__powerpc__) ++ __asm__ __volatile__ (".long 0" : : : "memory"); + #else + #error implement illegalins for this architecture + #endif