Răsfoiți Sursa

Allow compilation of rtl for i386-openbsd target with -dOLD_ASSEMBLER

Pierre Muller 4 luni în urmă
părinte
comite
ed1bbfc950
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      rtl/i386/math.inc

+ 3 - 1
rtl/i386/math.inc

@@ -198,7 +198,9 @@ const
 
 
   {$if not defined(FPC_PIC) or defined(OLD_ASSEMBLER)}
-    {$define DISABLE_PIC_IN_EXP_REAL}
+    {$ifndef OPENBSD}
+      {$define DISABLE_PIC_IN_EXP_REAL}
+    {$endif ndef OPENBSD}
   {$endif}
   {$define FPC_SYSTEM_HAS_EXP}
     { exp function adapted from AMath library (C) Copyright 2009-2013 Wolfgang Ehrhardt