2
0
Эх сурвалжийг харах

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

Pierre Muller 4 сар өмнө
parent
commit
ed1bbfc950
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  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