From b09a1d34f7fa3f8cee6b24ac33e3d98efad7712f Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 1 Apr 2013 20:45:53 +0300 Subject: libretro: minor adjustments and a sanity check --- frontend/cspace_neon.S | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'frontend') diff --git a/frontend/cspace_neon.S b/frontend/cspace_neon.S index e7b48a9..7420585 100644 --- a/frontend/cspace_neon.S +++ b/frontend/cspace_neon.S @@ -10,6 +10,12 @@ #include "arm_features.h" +/* sanity check */ +#ifndef __ARM_NEON__ +#error Compiling NEON code, but appropriate preprocessor flag is missing +#error This usually means -mfpu=neon or -mfloat-abi= is not correctly specified +#endif + .text .align 2 -- cgit v1.2.3