Procházet zdrojové kódy

* fix building for targets with no vfp support

git-svn-id: trunk@42693 -
florian před 6 roky
rodič
revize
45847da693
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/arm/narmmat.pas

+ 1 - 1
compiler/arm/narmmat.pas

@@ -367,7 +367,7 @@ implementation
             exit;
             exit;
           end;
           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
           (tfloatdef(resultdef).floattype=s32real) then
           exit(inherited pass_1);
           exit(inherited pass_1);