Browse Source

Properly fail unsupported cross-compile to MIPS64.

Mike Pall 10 năm trước cách đây
mục cha
commit
7ff476804e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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