Răsfoiți Sursa

Fix cross-compilation on aarch64-linux using -dFPC_SOFT_FPUX80 option

git-svn-id: trunk@45154 -
pierre 5 ani în urmă
părinte
comite
a506fe9560
2 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 3 0
      compiler/z80/agsdasz80.pas
  2. 3 0
      compiler/z80/agz80vasm.pas

+ 3 - 0
compiler/z80/agsdasz80.pas

@@ -63,6 +63,9 @@ unit agsdasz80;
        cutils,globals,verbose,
        cpuinfo,
        cgbase,cgutils,
+{$ifdef FPC_SOFT_FPUX80}
+       sfpux80,
+{$endif FPC_SOFT_FPUX80}
        finput;
 
     const

+ 3 - 0
compiler/z80/agz80vasm.pas

@@ -63,6 +63,9 @@ unit agz80vasm;
        cutils,globals,verbose,
        cpuinfo,
        cgbase,cgutils,
+{$ifdef FPC_SOFT_FPUX80}
+       sfpux80,
+{$endif FPC_SOFT_FPUX80}
        finput;
 
     const