Explorar el Código

Properly fail unsupported cross-compile to MIPS64.

Mike Pall hace 10 años
padre
commit
7ff476804e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/lj_arch.h

+ 3 - 0
src/lj_arch.h

@@ -340,6 +340,9 @@
 #if defined(__mips_soft_float)
 #error "No support for MIPS CPUs without FPU"
 #endif
+#if defined(_LP64)
+#error "No support for MIPS64"
+#endif
 #endif
 #endif