Browse Source

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

git-svn-id: trunk@37295 -
pierre 7 years ago
parent
commit
2a49627d48
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/fpcdefs.inc

+ 2 - 0
compiler/fpcdefs.inc

@@ -280,8 +280,10 @@
 {$endif}
 
 {$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 }
 {$endif}
+{$endif}
 
 { llvm backends partially use other backends for parameter info calculation,
   alignment info, data sizes etc. They always support 64 bit alu though.