aboutsummaryrefslogtreecommitdiff
path: root/arm-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm-gen.c')
-rw-r--r--arm-gen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arm-gen.c b/arm-gen.c
index 9e6c638..05bccb0 100644
--- a/arm-gen.c
+++ b/arm-gen.c
@@ -23,10 +23,8 @@
#ifdef TARGET_DEFS_ONLY
-#ifdef TCC_ARM_EABI
-#ifndef TCC_ARM_VFP /* Avoid useless warning */
-#define TCC_ARM_VFP
-#endif
+#if defined(TCC_ARM_EABI) && !defined(TCC_ARM_VFP)
+#error "Currently TinyCC only supports float computation with VFP instructions"
#endif
/* number of available registers */