Jelajahi Sumber

Allow compilation of ppc386 compiler using FPC_SOFT_FPUX80, i.e. soft float 80-bit extended float

git-svn-id: trunk@37295 -
pierre 7 tahun lalu
induk
melakukan
2a49627d48
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      compiler/fpcdefs.inc

+ 2 - 0
compiler/fpcdefs.inc

@@ -280,8 +280,10 @@
 {$endif}
 {$endif}
 
 
 {$if not defined(FPC_HAS_TYPE_EXTENDED) and defined(i386)}
 {$if not defined(FPC_HAS_TYPE_EXTENDED) and defined(i386)}
+{$ifndef FPC_SOFT_FPUX80}
 {$error Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time }
 {$error Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time }
 {$endif}
 {$endif}
+{$endif}
 
 
 { llvm backends partially use other backends for parameter info calculation,
 { llvm backends partially use other backends for parameter info calculation,
   alignment info, data sizes etc. They always support 64 bit alu though.
   alignment info, data sizes etc. They always support 64 bit alu though.