diff -bur LuaJIT-src-orig/src/lj_arch.h LuaJIT-src/src/lj_arch.h --- LuaJIT-src-orig/src/lj_arch.h 2016-03-07 09:43:42.712069718 +0100 +++ LuaJIT-src/src/lj_arch.h 2016-03-07 12:31:33.351902301 +0100 @@ -350,7 +350,7 @@ #if __GNUC__ < 4 #error "Need at least GCC 4.0 or newer" #endif -#elif LJ_TARGET_ARM +#elif LJ_TARGET_ARM || LJ_TARGET_PPC #if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 2) #error "Need at least GCC 4.2 or newer" #endif