Browse Source

* fix building for targets with no vfp support

git-svn-id: trunk@42693 -
florian 6 years ago
parent
commit
45847da693
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/arm/narmmat.pas

+ 1 - 1
compiler/arm/narmmat.pas

@@ -367,7 +367,7 @@ implementation
             exit;
           end;
 
-        if (FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) or
+        if not(FPUARM_HAS_VFP_SINGLE_ONLY in fpu_capabilities[current_settings.fputype]) or
           (tfloatdef(resultdef).floattype=s32real) then
           exit(inherited pass_1);