Ver Fonte

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

Pierre Muller há 4 meses atrás
pai
commit
ed1bbfc950
1 ficheiros alterados com 3 adições e 1 exclusões
  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