Include mir-gen-stub.c for PPC64 BE.
@@ -176,6 +176,8 @@ static inline struct gen_ctx **gen_ctx_loc (MIR_context_t ctx) { return (struct
#include "mir-gen-x86_64.c"
#elif defined(__aarch64__)
#include "mir-gen-aarch64.c"
+#elif defined(__PPC64__)
+#include "mir-gen-stub.c"
#else
#error "undefined or unsupported generation target"
#endif
