From d3699997fab1fe5e8b342c265a8959eb089e3aa9 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 30 Aug 2012 10:31:26 +0200 Subject: [PATCH] Add check for unsupported MIPS soft-float targets. --- src/lj_arch.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lj_arch.h b/src/lj_arch.h index 9ff3c2b6..a2032821 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h @@ -318,6 +318,10 @@ #if defined(_LP64) #error "No support for PowerPC 64 bit mode" #endif +#elif LJ_TARGET_MIPS +#if defined(__mips_soft_float) +#error "No support for MIPS CPUs without FPU" +#endif #endif #endif