瀏覽代碼

+ added {$asmmode gas} directives to fix compiling when fpc.cfg contains
-Rintel (mantis #17354)

git-svn-id: trunk@15950 -

Jonas Maebe 15 年之前
父節點
當前提交
8d9a22938b
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      rtl/x86_64/mathu.inc
  2. 2 0
      rtl/x86_64/strings.inc

+ 2 - 0
rtl/x86_64/mathu.inc

@@ -12,6 +12,8 @@
 
 **********************************************************************}
 
+{$ASMMODE GAS}
+
 {$ifdef FPC_HAS_TYPE_EXTENDED}
 {$define FPC_MATH_HAS_ARCTAN2}
 function arctan2(y,x : float) : float;assembler;

+ 2 - 0
rtl/x86_64/strings.inc

@@ -15,6 +15,8 @@
 
  **********************************************************************}
 
+{$ASMMODE GAS}
+
 {$ifndef FPC_UNIT_HAS_STRCOPY}
 {$define FPC_UNIT_HAS_STRCOPY}
 { Created from glibc: libc/sysdeps/x86_64/strcpy.S Version 1.2 }