Explorar o código

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

git-svn-id: trunk@45154 -
pierre %!s(int64=5) %!d(string=hai) anos
pai
achega
a506fe9560
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  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