瀏覽代碼

* only link libgcc for softfloat helpers on ARM if we are compiling for
softfloat

git-svn-id: trunk@20666 -

Jonas Maebe 13 年之前
父節點
當前提交
e13f9b5a2b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/test/cg/tcalext6.pp

+ 1 - 1
tests/test/cg/tcalext6.pp

@@ -14,7 +14,7 @@ program calext6;
   {$define NO_FLOAT}
 {$endif}
 
-{$ifdef CPUARMEL}
+{$if defined(CPUARMEL) and defined(FPUSOFT)}
 { for softfloat calls in the C code }
 {$linklib gcc}
 {$endif}