Selaa lähdekoodia

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

git-svn-id: trunk@45154 -
pierre 5 vuotta sitten
vanhempi
commit
a506fe9560
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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