From 7ff476804ec91c587d95b6a71b718b9b6ce19768 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 25 Feb 2015 18:02:31 +0100 Subject: [PATCH] Properly fail unsupported cross-compile to MIPS64. --- src/lj_arch.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lj_arch.h b/src/lj_arch.h index 2769086c..e775925e 100644 --- a/src/lj_arch.h +++ b/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