Browse Source

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

git-svn-id: trunk@20666 -

Jonas Maebe 13 years ago
parent
commit
e13f9b5a2b
1 changed files with 1 additions and 1 deletions
  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}